[][src]Struct accurate::sum::SumConsumer

pub struct SumConsumer<Acc>(_);

Adapts a ParallelSumAccumulator into a Consumer

Trait Implementations

impl<Acc: Clone> Clone for SumConsumer<Acc>[src]

impl<Acc, F> Consumer<F> for SumConsumer<Acc> where
    Acc: ParallelSumAccumulator<F>,
    F: Zero + Send
[src]

type Folder = SumFolder<Acc>

The type of folder that this consumer can be converted into.

type Reducer = AddReducer

The type of reducer that is produced if this consumer is split.

type Result = Acc

The type of result that this consumer will ultimately produce.

impl<Acc: Copy> Copy for SumConsumer<Acc>[src]

impl<Acc: Debug> Debug for SumConsumer<Acc>[src]

impl<Acc, F> UnindexedConsumer<F> for SumConsumer<Acc> where
    Acc: ParallelSumAccumulator<F>,
    F: Zero + Send
[src]

Auto Trait Implementations

impl<Acc> RefUnwindSafe for SumConsumer<Acc> where
    Acc: RefUnwindSafe

impl<Acc> Send for SumConsumer<Acc> where
    Acc: Send

impl<Acc> Sync for SumConsumer<Acc> where
    Acc: Sync

impl<Acc> Unpin for SumConsumer<Acc> where
    Acc: Unpin

impl<Acc> UnwindSafe for SumConsumer<Acc> where
    Acc: 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.