[][src]Trait amadeus::par_sink::Reducer

#[must_use]pub trait Reducer<Item> where
    <Self::Async as Sink<Item>>::Done == Self::Done
{ type Done; type Async: Sink<Item>; fn into_async(self) -> Self::Async; }

Associated Types

type Done

type Async: Sink<Item>

Loading content...

Required methods

fn into_async(self) -> Self::Async

Loading content...

Implementors

impl Reducer<Sum0> for ReduceA0[src]

impl Reducer<bool> for BoolAndReducer[src]

impl Reducer<bool> for BoolOrReducer[src]

impl Reducer<()> for ReduceC0[src]

impl<A, B, C, D, E, F, G, H, S0, S1, S2, S3, S4, S5, S6, S7> Reducer<Sum8<S0, S1, S2, S3, S4, S5, S6, S7>> for ReduceA8<A, B, C, D, E, F, G, H> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>,
    D: Reducer<S3>,
    E: Reducer<S4>,
    F: Reducer<S5>,
    G: Reducer<S6>,
    H: Reducer<S7>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done, <D as Reducer<S3>>::Done, <E as Reducer<S4>>::Done, <F as Reducer<S5>>::Done, <G as Reducer<S6>>::Done, <H as Reducer<S7>>::Done)

type Async = ReduceA8Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, <D as Reducer<S3>>::Async, <E as Reducer<S4>>::Async, <F as Reducer<S5>>::Async, <G as Reducer<S6>>::Async, <H as Reducer<S7>>::Async, S0, S1, S2, S3, S4, S5, S6, S7>

impl<A, B, C, D, E, F, G, H, S0, S1, S2, S3, S4, S5, S6, S7> Reducer<(S0, S1, S2, S3, S4, S5, S6, S7)> for ReduceC8<A, B, C, D, E, F, G, H> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>,
    D: Reducer<S3>,
    E: Reducer<S4>,
    F: Reducer<S5>,
    G: Reducer<S6>,
    H: Reducer<S7>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done, <D as Reducer<S3>>::Done, <E as Reducer<S4>>::Done, <F as Reducer<S5>>::Done, <G as Reducer<S6>>::Done, <H as Reducer<S7>>::Done)

type Async = ReduceC8Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, <D as Reducer<S3>>::Async, <E as Reducer<S4>>::Async, <F as Reducer<S5>>::Async, <G as Reducer<S6>>::Async, <H as Reducer<S7>>::Async, S0, S1, S2, S3, S4, S5, S6, S7>

impl<A, B, C, D, E, F, G, S0, S1, S2, S3, S4, S5, S6> Reducer<Sum7<S0, S1, S2, S3, S4, S5, S6>> for ReduceA7<A, B, C, D, E, F, G> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>,
    D: Reducer<S3>,
    E: Reducer<S4>,
    F: Reducer<S5>,
    G: Reducer<S6>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done, <D as Reducer<S3>>::Done, <E as Reducer<S4>>::Done, <F as Reducer<S5>>::Done, <G as Reducer<S6>>::Done)

type Async = ReduceA7Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, <D as Reducer<S3>>::Async, <E as Reducer<S4>>::Async, <F as Reducer<S5>>::Async, <G as Reducer<S6>>::Async, S0, S1, S2, S3, S4, S5, S6>

impl<A, B, C, D, E, F, G, S0, S1, S2, S3, S4, S5, S6> Reducer<(S0, S1, S2, S3, S4, S5, S6)> for ReduceC7<A, B, C, D, E, F, G> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>,
    D: Reducer<S3>,
    E: Reducer<S4>,
    F: Reducer<S5>,
    G: Reducer<S6>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done, <D as Reducer<S3>>::Done, <E as Reducer<S4>>::Done, <F as Reducer<S5>>::Done, <G as Reducer<S6>>::Done)

type Async = ReduceC7Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, <D as Reducer<S3>>::Async, <E as Reducer<S4>>::Async, <F as Reducer<S5>>::Async, <G as Reducer<S6>>::Async, S0, S1, S2, S3, S4, S5, S6>

impl<A, B, C, D, E, F, S0, S1, S2, S3, S4, S5> Reducer<Sum6<S0, S1, S2, S3, S4, S5>> for ReduceA6<A, B, C, D, E, F> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>,
    D: Reducer<S3>,
    E: Reducer<S4>,
    F: Reducer<S5>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done, <D as Reducer<S3>>::Done, <E as Reducer<S4>>::Done, <F as Reducer<S5>>::Done)

type Async = ReduceA6Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, <D as Reducer<S3>>::Async, <E as Reducer<S4>>::Async, <F as Reducer<S5>>::Async, S0, S1, S2, S3, S4, S5>

impl<A, B, C, D, E, F, S0, S1, S2, S3, S4, S5> Reducer<(S0, S1, S2, S3, S4, S5)> for ReduceC6<A, B, C, D, E, F> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>,
    D: Reducer<S3>,
    E: Reducer<S4>,
    F: Reducer<S5>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done, <D as Reducer<S3>>::Done, <E as Reducer<S4>>::Done, <F as Reducer<S5>>::Done)

type Async = ReduceC6Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, <D as Reducer<S3>>::Async, <E as Reducer<S4>>::Async, <F as Reducer<S5>>::Async, S0, S1, S2, S3, S4, S5>

impl<A, B, C, D, E, S0, S1, S2, S3, S4> Reducer<Sum5<S0, S1, S2, S3, S4>> for ReduceA5<A, B, C, D, E> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>,
    D: Reducer<S3>,
    E: Reducer<S4>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done, <D as Reducer<S3>>::Done, <E as Reducer<S4>>::Done)

type Async = ReduceA5Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, <D as Reducer<S3>>::Async, <E as Reducer<S4>>::Async, S0, S1, S2, S3, S4>

impl<A, B, C, D, E, S0, S1, S2, S3, S4> Reducer<(S0, S1, S2, S3, S4)> for ReduceC5<A, B, C, D, E> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>,
    D: Reducer<S3>,
    E: Reducer<S4>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done, <D as Reducer<S3>>::Done, <E as Reducer<S4>>::Done)

type Async = ReduceC5Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, <D as Reducer<S3>>::Async, <E as Reducer<S4>>::Async, S0, S1, S2, S3, S4>

impl<A, B, C, D, S0, S1, S2, S3> Reducer<Sum4<S0, S1, S2, S3>> for ReduceA4<A, B, C, D> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>,
    D: Reducer<S3>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done, <D as Reducer<S3>>::Done)

type Async = ReduceA4Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, <D as Reducer<S3>>::Async, S0, S1, S2, S3>

impl<A, B, C, D, S0, S1, S2, S3> Reducer<(S0, S1, S2, S3)> for ReduceC4<A, B, C, D> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>,
    D: Reducer<S3>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done, <D as Reducer<S3>>::Done)

type Async = ReduceC4Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, <D as Reducer<S3>>::Async, S0, S1, S2, S3>

impl<A, B, C, S0, S1, S2> Reducer<Sum3<S0, S1, S2>> for ReduceA3<A, B, C> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done)

type Async = ReduceA3Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, S0, S1, S2>

impl<A, B, C, S0, S1, S2> Reducer<(S0, S1, S2)> for ReduceC3<A, B, C> where
    A: Reducer<S0>,
    B: Reducer<S1>,
    C: Reducer<S2>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done, <C as Reducer<S2>>::Done)

type Async = ReduceC3Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, <C as Reducer<S2>>::Async, S0, S1, S2>

impl<A, B, S0, S1> Reducer<Sum2<S0, S1>> for ReduceA2<A, B> where
    A: Reducer<S0>,
    B: Reducer<S1>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done)

type Async = ReduceA2Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, S0, S1>

impl<A, B, S0, S1> Reducer<(S0, S1)> for ReduceC2<A, B> where
    A: Reducer<S0>,
    B: Reducer<S1>, 
[src]

type Done = (<A as Reducer<S0>>::Done, <B as Reducer<S1>>::Done)

type Async = ReduceC2Async<<A as Reducer<S0>>::Async, <B as Reducer<S1>>::Async, S0, S1>

impl<A, S0> Reducer<Sum1<S0>> for ReduceA1<A> where
    A: Reducer<S0>, 
[src]

type Done = (<A as Reducer<S0>>::Done,)

type Async = ReduceA1Async<<A as Reducer<S0>>::Async, S0>

impl<A, S0> Reducer<(S0,)> for ReduceC1<A> where
    A: Reducer<S0>, 
[src]

type Done = (<A as Reducer<S0>>::Done,)

type Async = ReduceC1Async<<A as Reducer<S0>>::Async, S0>

impl<Item, F> Reducer<Item> for AllReducer<Item, F> where
    F: FnMut<(Item,), Output = bool>, 
[src]

type Done = bool

type Async = AllReducerAsync<Item, F>

impl<Item, F> Reducer<Item> for AnyReducer<Item, F> where
    F: FnMut<(Item,), Output = bool>, 
[src]

type Done = bool

type Async = AnyReducerAsync<Item, F>

impl<Item, F> Reducer<Item> for FolderSyncReducer<Item, F> where
    F: FolderSync<Item>, 
[src]

type Done = <F as FolderSync<Item>>::Done

type Async = FolderSyncReducerAsync<Item, F, <F as FolderSync<Item>>::Done>

impl<Item, F> Reducer<Item> for ForEachReducer<Item, F> where
    F: FnMut<(Item,), Output = ()>, 
[src]

type Done = ()

type Async = ForEachReducer<Item, F>

impl<Item, T> Reducer<Item> for PushReducer<Item, T> where
    T: Default + Extend<Item>, 
[src]

type Done = T

type Async = PushReducerAsync<Item, T>

impl<Item, T, B> Reducer<Item> for ExtendReducer<Item, T> where
    Item: IntoIterator<Item = B>,
    T: Default + Extend<B>, 
[src]

type Done = T

type Async = ExtendReducerAsync<Item, T>

impl<P, R, T, U> Reducer<(T, U)> for GroupByReducerA<P, R, T, U> where
    P: PipeTask<U>,
    R: Reducer<<P as PipeTask<U>>::Output> + Clone,
    T: Eq + Hash
[src]

type Done = IndexMap<T, <R as Reducer<<P as PipeTask<U>>::Output>>::Done, RandomState>

type Async = GroupByReducerAAsync<<P as PipeTask<U>>::Async, R, T, U>

impl<R, E, Item> Reducer<Result<Item, E>> for ResultReducer<R, E> where
    R: Reducer<Item>, 
[src]

type Done = Result<<R as Reducer<Item>>::Done, E>

type Async = ResultReducerAsync<<R as Reducer<Item>>::Async, E>

impl<R, Item> Reducer<Option<Item>> for OptionReducer<R> where
    R: Reducer<Item>, 
[src]

type Done = Option<<R as Reducer<Item>>::Done>

type Async = OptionReducerAsync<<R as Reducer<Item>>::Async>

impl<R, T, Item> Reducer<Item> for IntoReducer<R, T> where
    R: Reducer<Item>,
    <R as Reducer<Item>>::Done: Into<T>, 
[src]

type Done = T

type Async = IntoReducerAsync<<R as Reducer<Item>>::Async, T>

impl<R, T, U> Reducer<IndexMap<T, U, RandomState>> for GroupByReducerB<R, T, U> where
    R: Reducer<U> + Clone,
    T: Eq + Hash
[src]

type Done = IndexMap<T, <R as Reducer<U>>::Done, RandomState>

type Async = GroupByReducerBAsync<R, T, U>

Loading content...