[][src]Struct amadeus::par_sink::Sum

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

Implementations

impl<P, B> Sum<P, B>[src]

pub fn new(pipe: P) -> Sum<P, B>[src]

Constructs a new Sum.

Trait Implementations

impl<P, Item, B> DistributedSink<Item> for Sum<P, B> where
    B: Sum<<P as DistributedPipe<Item>>::Output> + Sum<B> + ProcessSend + 'static,
    P: DistributedPipe<Item>, 
[src]

type Done = <<Sum<P, B> as DistributedSink<Item>>::ReduceC as Reducer<<<Sum<P, B> as DistributedSink<Item>>::ReduceB as Reducer<<<Sum<P, B> as DistributedSink<Item>>::ReduceA as Reducer<<P as DistributedPipe<Item>>::Output>>::Done>>::Done>>::Done

type Pipe = P

type ReduceA = FolderSyncReducer<<P as DistributedPipe<Item>>::Output, SumFolder<B>, Inter>

type ReduceB = FolderSyncReducer<<<Sum<P, B> as DistributedSink<Item>>::ReduceA as Reducer<<P as DistributedPipe<Item>>::Output>>::Done, SumFolder<B>, Inter>

type ReduceC = FolderSyncReducer<<<Sum<P, B> as DistributedSink<Item>>::ReduceB as Reducer<<<Sum<P, B> as DistributedSink<Item>>::ReduceA as Reducer<<P as DistributedPipe<Item>>::Output>>::Done>>::Done, SumFolder<B>, Final>

impl<P, Item, B> ParallelSink<Item> for Sum<P, B> where
    B: Sum<<P as ParallelPipe<Item>>::Output> + Sum<B> + Send + 'static,
    P: ParallelPipe<Item>, 
[src]

type Done = <<Sum<P, B> as ParallelSink<Item>>::ReduceC as Reducer<<<Sum<P, B> as ParallelSink<Item>>::ReduceA as Reducer<<P as ParallelPipe<Item>>::Output>>::Done>>::Done

type Pipe = P

type ReduceA = FolderSyncReducer<<P as ParallelPipe<Item>>::Output, SumFolder<B>, Inter>

type ReduceC = FolderSyncReducer<<<Sum<P, B> as ParallelSink<Item>>::ReduceA as Reducer<<P as ParallelPipe<Item>>::Output>>::Done, SumFolder<B>, Final>

Auto Trait Implementations

impl<P, B> RefUnwindSafe for Sum<P, B> where
    P: RefUnwindSafe

impl<P, B> Send for Sum<P, B> where
    P: Send

impl<P, B> Sync for Sum<P, B> where
    P: Sync

impl<P, B> Unpin for Sum<P, B> where
    P: Unpin

impl<P, B> UnwindSafe for Sum<P, B> 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<A, B> Downcast<A> for B where
    A: DowncastFrom<B>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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<T> Type for T where
    T: ?Sized
[src]

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

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