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

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

Implementations

impl<A, B> GroupBy<A, B>[src]

pub fn new(a: A, b: B) -> GroupBy<A, B>[src]

Constructs a new GroupBy.

Trait Implementations

impl<A, B, Item, T, U> DistributedSink<Item> for GroupBy<A, B> where
    A: DistributedPipe<Item, Output = (T, U)>,
    B: DistributedSink<U>,
    T: Eq + Hash + ProcessSend + 'static,
    <<B as DistributedSink<U>>::Pipe as DistributedPipe<U>>::Task: Clone,
    <<B as DistributedSink<U>>::Pipe as DistributedPipe<U>>::Task: ProcessSend,
    <<B as DistributedSink<U>>::Pipe as DistributedPipe<U>>::Task: 'static,
    <B as DistributedSink<U>>::ReduceA: Clone,
    <B as DistributedSink<U>>::ReduceA: ProcessSend,
    <B as DistributedSink<U>>::ReduceA: 'static,
    <B as DistributedSink<U>>::ReduceB: Clone,
    <B as DistributedSink<U>>::ReduceC: Clone,
    <B as DistributedSink<U>>::Done: ProcessSend,
    <B as DistributedSink<U>>::Done: 'static, 
[src]

type Done = IndexMap<T, <B as DistributedSink<U>>::Done, RandomState>

type Pipe = A

type ReduceA = GroupByReducerA<<<B as DistributedSink<U>>::Pipe as DistributedPipe<U>>::Task, <B as DistributedSink<U>>::ReduceA, T, U>

type ReduceB = GroupByReducerB<<B as DistributedSink<U>>::ReduceB, T, <<B as DistributedSink<U>>::ReduceA as ReducerSend<<<B as DistributedSink<U>>::Pipe as DistributedPipe<U>>::Output>>::Done>

type ReduceC = GroupByReducerB<<B as DistributedSink<U>>::ReduceC, T, <<B as DistributedSink<U>>::ReduceB as ReducerProcessSend<<<B as DistributedSink<U>>::ReduceA as Reducer<<<B as DistributedSink<U>>::Pipe as DistributedPipe<U>>::Output>>::Done>>::Done>

impl<A, B, Item, T, U> ParallelSink<Item> for GroupBy<A, B> where
    A: ParallelPipe<Item, Output = (T, U)>,
    B: ParallelSink<U>,
    T: Eq + Hash + Send + 'static,
    <<B as ParallelSink<U>>::Pipe as ParallelPipe<U>>::Task: Clone,
    <<B as ParallelSink<U>>::Pipe as ParallelPipe<U>>::Task: Send,
    <<B as ParallelSink<U>>::Pipe as ParallelPipe<U>>::Task: 'static,
    <B as ParallelSink<U>>::ReduceA: Clone,
    <B as ParallelSink<U>>::ReduceA: Send,
    <B as ParallelSink<U>>::ReduceA: 'static,
    <B as ParallelSink<U>>::ReduceC: Clone,
    <B as ParallelSink<U>>::Done: Send,
    <B as ParallelSink<U>>::Done: 'static, 
[src]

type Done = IndexMap<T, <B as ParallelSink<U>>::Done, RandomState>

type Pipe = A

type ReduceA = GroupByReducerA<<<B as ParallelSink<U>>::Pipe as ParallelPipe<U>>::Task, <B as ParallelSink<U>>::ReduceA, T, U>

type ReduceC = GroupByReducerB<<B as ParallelSink<U>>::ReduceC, T, <<B as ParallelSink<U>>::ReduceA as ReducerSend<<<B as ParallelSink<U>>::Pipe as ParallelPipe<U>>::Output>>::Done>

Auto Trait Implementations

impl<A, B> RefUnwindSafe for GroupBy<A, B> where
    A: RefUnwindSafe,
    B: RefUnwindSafe

impl<A, B> Send for GroupBy<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for GroupBy<A, B> where
    A: Sync,
    B: Sync

impl<A, B> Unpin for GroupBy<A, B> where
    A: Unpin,
    B: Unpin

impl<A, B> UnwindSafe for GroupBy<A, B> where
    A: UnwindSafe,
    B: 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<A, B> Downcast<A> for B where
    A: DowncastFrom<B>, 
[src]

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

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

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 where
    T: ?Sized
[src]

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

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