pub struct Collect<P, A> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<P: DistributedPipe<Item>, Item, T: FromDistributedStream<P::Output>> DistributedSink<Item> for Collect<P, T>
impl<P: DistributedPipe<Item>, Item, T: FromDistributedStream<P::Output>> DistributedSink<Item> for Collect<P, T>
type Done = T
type Pipe = P
type ReduceA = <T as FromDistributedStream<<P as DistributedPipe<Item>>::Output>>::ReduceA
type ReduceB = <T as FromDistributedStream<<P as DistributedPipe<Item>>::Output>>::ReduceB
type ReduceC = <T as FromDistributedStream<<P as DistributedPipe<Item>>::Output>>::ReduceC
fn reducers(self) -> (Self::Pipe, Self::ReduceA, Self::ReduceB, Self::ReduceC)
Source§impl<P: ParallelPipe<Item>, Item, T: FromParallelStream<P::Output>> ParallelSink<Item> for Collect<P, T>
impl<P: ParallelPipe<Item>, Item, T: FromParallelStream<P::Output>> ParallelSink<Item> for Collect<P, T>
Auto Trait Implementations§
impl<P, A> Freeze for Collect<P, A>where
P: Freeze,
impl<P, A> RefUnwindSafe for Collect<P, A>where
P: RefUnwindSafe,
impl<P, A> Send for Collect<P, A>where
P: Send,
impl<P, A> Sync for Collect<P, A>where
P: Sync,
impl<P, A> Unpin for Collect<P, A>where
P: Unpin,
impl<P, A> UnsafeUnpin for Collect<P, A>where
P: UnsafeUnpin,
impl<P, A> UnwindSafe for Collect<P, A>where
P: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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