pub struct AsyncTuple2<Input, C0, C1> { /* private fields */ }Trait Implementations§
Source§impl<Input, C0: Pipe<Input>, C1: Pipe<Input>> Pipe<Input> for AsyncTuple2<Input, C0, C1>where
Input: Copy,
impl<Input, C0: Pipe<Input>, C1: Pipe<Input>> Pipe<Input> for AsyncTuple2<Input, C0, C1>where
Input: Copy,
type Output = Sum2<<C0 as Pipe<Input>>::Output, <C1 as Pipe<Input>>::Output>
fn poll_next( self: Pin<&mut Self>, cx: &mut Context<'_>, stream: Pin<&mut impl Stream<Item = Input>>, ) -> Poll<Option<Self::Output>>
fn pipe<P>(self, pipe: P) -> PipePipe<Self, P>
fn sink<S>(self, sink: S) -> PipeSink<Self, S>
fn filter<F>(self, f: F) -> Filter<Self, F>
fn flat_map<F, R>(self, f: F) -> FlatMap<Self, F, R>
fn flatten(self) -> Flatten<Self, Self::Output>
fn map<F, R>(self, f: F) -> Map<Self, F>
impl<'pin, Input, C0, C1> Unpin for AsyncTuple2<Input, C0, C1>where
__AsyncTuple2<'pin, Input, C0, C1>: Unpin,
impl<Input, C0, C1> UnsafeUnpin for AsyncTuple2<Input, C0, C1>
Auto Trait Implementations§
impl<Input, C0, C1> Freeze for AsyncTuple2<Input, C0, C1>
impl<Input, C0, C1> RefUnwindSafe for AsyncTuple2<Input, C0, C1>
impl<Input, C0, C1> Send for AsyncTuple2<Input, C0, C1>
impl<Input, C0, C1> Sync for AsyncTuple2<Input, C0, C1>
impl<Input, C0, C1> UnwindSafe for AsyncTuple2<Input, C0, C1>
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