[][src]Struct amadeus_core::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) -> Self[src]

Constructs a new Sum.

Trait Implementations

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

type Done = <Self::ReduceC as Reducer<<Self::ReduceB as Reducer<<Self::ReduceA as Reducer<P::Output>>::Done>>::Done>>::Done

type Pipe = P

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

type ReduceB = FolderSyncReducer<<Self::ReduceA as Reducer<P::Output>>::Done, SumFolder<B>, Inter>

type ReduceC = FolderSyncReducer<<Self::ReduceB as Reducer<<Self::ReduceA as Reducer<P::Output>>::Done>>::Done, SumFolder<B>, Final>

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

type Done = <Self::ReduceC as Reducer<<Self::ReduceA as Reducer<P::Output>>::Done>>::Done

type Pipe = P

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

type ReduceC = FolderSyncReducer<<Self::ReduceA as Reducer<P::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<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>,