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

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

Implementations

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

pub fn new(i: I) -> Sum<I, B>[src]

Constructs a new Sum.

Trait Implementations

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

type Output = <<Sum<I, B> as DistributedSink<Source>>::ReduceC as Reducer>::Output

type Pipe = I

type ReduceAFactory = FolderSyncReducerFactory<<I as DistributedPipe<Source>>::Item, SumFolder<B>>

type ReduceBFactory = FolderSyncReducerFactory<<<Sum<I, B> as DistributedSink<Source>>::ReduceA as Reducer>::Output, SumFolder<B>>

type ReduceA = FolderSyncReducer<<I as DistributedPipe<Source>>::Item, SumFolder<B>>

type ReduceB = FolderSyncReducer<<<Sum<I, B> as DistributedSink<Source>>::ReduceA as Reducer>::Output, SumFolder<B>>

type ReduceC = FolderSyncReducer<<<Sum<I, B> as DistributedSink<Source>>::ReduceB as Reducer>::Output, SumFolder<B>>

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

type Output = <<Sum<I, B> as ParallelSink<Source>>::ReduceC as Reducer>::Output

type Pipe = I

type ReduceAFactory = FolderSyncReducerFactory<<I as ParallelPipe<Source>>::Item, SumFolder<B>>

type ReduceA = FolderSyncReducer<<I as ParallelPipe<Source>>::Item, SumFolder<B>>

type ReduceC = FolderSyncReducer<<<Sum<I, B> as ParallelSink<Source>>::ReduceA as Reducer>::Output, SumFolder<B>>

Auto Trait Implementations

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

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

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

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

impl<I, B> UnwindSafe for Sum<I, B> where
    I: 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, U> Cast<U> for T where
    U: FromCast<T>, 

impl<A, B> Downcast<A> for B where
    A: DowncastFrom<B>, 
[src]

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

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

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

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

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

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[src]

type Meta = Concrete

Type of metadata for type.

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

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