Struct pusherator::tee::TeeBuild
source · pub struct TeeBuild<Prev, Next1>{ /* private fields */ }
Implementations§
Trait Implementations§
source§impl<Prev, Next1> PusheratorBuild for TeeBuild<Prev, Next1>
impl<Prev, Next1> PusheratorBuild for TeeBuild<Prev, Next1>
type ItemOut = <Prev as PusheratorBuild>::ItemOut
type Output<Next: Pusherator<Item = Self::ItemOut>> = <Prev as PusheratorBuild>::Output<Tee<Next1, Next>>
fn push_to<Next>(self, input: Next) -> Self::Output<Next>where
Next: Pusherator<Item = Self::ItemOut>,
fn map<Func, Out>(self, func: Func) -> MapBuild<Self, Func>
fn inspect<Func>(self, func: Func) -> InspectBuild<Self, Func>
fn filter<Func>(self, func: Func) -> FilterBuild<Self, Func>
fn unzip<Next1, Item2>(self, next1: Next1) -> UnzipBuild<Self, Next1>
fn switch<Next1, Item2>(self, next1: Next1) -> SwitchBuild<Self, Next1>
fn for_each<Func>( self, func: Func, ) -> Self::Output<ForEach<Func, Self::ItemOut>>
fn demux<Func, Nexts>( self, func: Func, nexts: Nexts, ) -> Self::Output<Demux<Func, Nexts, Self::ItemOut>>
Auto Trait Implementations§
impl<Prev, Next1> Freeze for TeeBuild<Prev, Next1>
impl<Prev, Next1> RefUnwindSafe for TeeBuild<Prev, Next1>
impl<Prev, Next1> Send for TeeBuild<Prev, Next1>
impl<Prev, Next1> Sync for TeeBuild<Prev, Next1>
impl<Prev, Next1> Unpin for TeeBuild<Prev, Next1>
impl<Prev, Next1> UnwindSafe for TeeBuild<Prev, Next1>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more