[][src]Struct amadeus::par_sink::GroupBy

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

Implementations

impl<I, ID, F, B> GroupBy<I, ID, F, B>[src]

pub fn new(i: I, identity: ID, op: F) -> GroupBy<I, ID, F, B>[src]

Constructs a new GroupBy.

Trait Implementations

impl<I, Source, A, B, ID, F, C> DistributedSink<Source> for GroupBy<I, ID, F, C> where
    A: Eq + Hash + ProcessSend + 'static,
    C: ProcessSend + 'static,
    F: FnMut(C, Either<B, C>) -> C + Clone + ProcessSend + 'static,
    I: DistributedPipe<Source, Item = (A, B)>,
    ID: FnMut() -> C + Clone + ProcessSend + 'static, 
[src]

type Output = <<GroupBy<I, ID, F, C> as DistributedSink<Source>>::ReduceC as Reducer>::Output

type Pipe = I

type ReduceAFactory = FolderSyncReducerFactory<<I as DistributedPipe<Source>>::Item, GroupByFolder<A, B, ID, F, C, StepA>>

type ReduceBFactory = FolderSyncReducerFactory<<<GroupBy<I, ID, F, C> as DistributedSink<Source>>::ReduceA as Reducer>::Output, GroupByFolder<A, B, ID, F, C, StepB>>

type ReduceA = FolderSyncReducer<<I as DistributedPipe<Source>>::Item, GroupByFolder<A, B, ID, F, C, StepA>>

type ReduceB = FolderSyncReducer<<<GroupBy<I, ID, F, C> as DistributedSink<Source>>::ReduceA as Reducer>::Output, GroupByFolder<A, B, ID, F, C, StepB>>

type ReduceC = FolderSyncReducer<<<GroupBy<I, ID, F, C> as DistributedSink<Source>>::ReduceB as Reducer>::Output, GroupByFolder<A, B, ID, F, C, StepB>>

impl<I, Source, A, B, ID, F, C> ParallelSink<Source> for GroupBy<I, ID, F, C> where
    A: Eq + Hash + Send + 'static,
    C: Send + 'static,
    F: FnMut(C, Either<B, C>) -> C + Clone + Send + 'static,
    I: ParallelPipe<Source, Item = (A, B)>,
    ID: FnMut() -> C + Clone + Send + 'static, 
[src]

type Output = <<GroupBy<I, ID, F, C> as ParallelSink<Source>>::ReduceC as Reducer>::Output

type Pipe = I

type ReduceAFactory = FolderSyncReducerFactory<<I as ParallelPipe<Source>>::Item, GroupByFolder<A, B, ID, F, C, StepA>>

type ReduceA = FolderSyncReducer<<I as ParallelPipe<Source>>::Item, GroupByFolder<A, B, ID, F, C, StepA>>

type ReduceC = FolderSyncReducer<<<GroupBy<I, ID, F, C> as ParallelSink<Source>>::ReduceA as Reducer>::Output, GroupByFolder<A, B, ID, F, C, StepB>>

Auto Trait Implementations

impl<I, ID, F, B> RefUnwindSafe for GroupBy<I, ID, F, B> where
    F: RefUnwindSafe,
    I: RefUnwindSafe,
    ID: RefUnwindSafe

impl<I, ID, F, B> Send for GroupBy<I, ID, F, B> where
    F: Send,
    I: Send,
    ID: Send

impl<I, ID, F, B> Sync for GroupBy<I, ID, F, B> where
    F: Sync,
    I: Sync,
    ID: Sync

impl<I, ID, F, B> Unpin for GroupBy<I, ID, F, B> where
    F: Unpin,
    I: Unpin,
    ID: Unpin

impl<I, ID, F, B> UnwindSafe for GroupBy<I, ID, F, B> where
    F: UnwindSafe,
    I: UnwindSafe,
    ID: 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>,