[][src]Struct amadeus_core::par_sink::Collect

#[must_use]pub struct Collect<P, A> { /* fields omitted */ }

Implementations

impl<P, A> Collect<P, A>[src]

pub fn new(pipe: P) -> Self[src]

Constructs a new Collect.

Trait Implementations

impl<P: DistributedPipe<Item>, Item, T: FromDistributedStream<P::Output>> DistributedSink<Item> for Collect<P, T>[src]

type Done = T

type Pipe = P

type ReduceA = T::ReduceA

type ReduceB = T::ReduceB

type ReduceC = T::ReduceC

impl<P: ParallelPipe<Item>, Item, T: FromParallelStream<P::Output>> ParallelSink<Item> for Collect<P, T>[src]

type Done = T

type Pipe = P

type ReduceA = T::ReduceA

type ReduceC = T::ReduceC

Auto Trait Implementations

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> UnwindSafe for Collect<P, A> where
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,