[][src]Struct amadeus_core::par_sink::Count

#[must_use]pub struct Count<I> { /* fields omitted */ }

Implementations

impl<I> Count<I>[src]

pub fn new(i: I) -> Self[src]

Constructs a new Count.

Trait Implementations

impl<I: ParallelPipe<Source>, Source> DistributedSink<Source> for Count<I>[src]

type Output = <Self::ReduceC as Reducer<<Self::ReduceB as Reducer<<Self::ReduceA as Reducer<I::Item>>::Output>>::Output>>::Output

type Pipe = I

type ReduceA = FolderSyncReducer<I::Item, CountFolder>

type ReduceB = FolderSyncReducer<<Self::ReduceA as Reducer<I::Item>>::Output, SumFolder<usize>>

type ReduceC = FolderSyncReducer<<Self::ReduceB as Reducer<<Self::ReduceA as Reducer<I::Item>>::Output>>::Output, SumFolder<usize>>

impl<I: ParallelPipe<Source>, Source> ParallelSink<Source> for Count<I>[src]

type Output = <Self::ReduceC as Reducer<<Self::ReduceA as Reducer<I::Item>>::Output>>::Output

type Pipe = I

type ReduceA = FolderSyncReducer<I::Item, CountFolder>

type ReduceC = FolderSyncReducer<<Self::ReduceA as Reducer<I::Item>>::Output, SumFolder<usize>>

Auto Trait Implementations

impl<I> RefUnwindSafe for Count<I> where
    I: RefUnwindSafe

impl<I> Send for Count<I> where
    I: Send

impl<I> Sync for Count<I> where
    I: Sync

impl<I> Unpin for Count<I> where
    I: Unpin

impl<I> UnwindSafe for Count<I> 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> 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>,