[][src]Trait amadeus_core::dist_sink::Factory

pub trait Factory {
    type Item;
    fn make(&self) -> Self::Item;
}

Associated Types

type Item

Loading content...

Required methods

fn make(&self) -> Self::Item

Loading content...

Implementors

impl Factory for BoolAndReduceFactory[src]

type Item = BoolAndReducer

impl Factory for BoolOrReduceFactory[src]

type Item = BoolOrReducer

impl Factory for ReduceA0Factory[src]

type Item = ReduceA0

impl Factory for ReduceC0Factory[src]

type Item = ReduceC0

impl<A> Factory for CountReduceFactory<A>[src]

type Item = CountReducer<A>

impl<A> Factory for MostFrequentReduceFactory<A> where
    A: Clone + Hash + Eq
[src]

type Item = MostFrequentReducer<A>

impl<A> Factory for SampleUnstableReduceFactory<A>[src]

type Item = SampleUnstableReducer<A>

impl<A, B> Factory for MostDistinctReduceFactory<A, B> where
    A: Clone + Hash + Eq,
    B: Hash
[src]

type Item = MostDistinctReducer<A, B>

impl<A, B> Factory for SumReduceFactory<A, B> where
    B: Sum<A> + Sum
[src]

type Item = SumReducer<A, B>

impl<A, B, F> Factory for CombineReduceFactory<A, B, F> where
    Option<B>: From<A>,
    F: Combiner<B> + Clone
[src]

type Item = CombineReducer<A, B, F>

impl<A, F> Factory for AllReduceFactory<A, F> where
    F: FnMut(A) -> bool + Clone
[src]

type Item = AllReducer<A, F>

impl<A, F> Factory for AnyReduceFactory<A, F> where
    F: FnMut(A) -> bool + Clone
[src]

type Item = AnyReducer<A, F>

impl<A, F> Factory for ForEachReduceFactory<A, F> where
    F: FnMut(A) + Clone
[src]

type Item = ForEachReducer<A, F>

impl<A, ID, F, B> Factory for FoldReducerAFactory<A, ID, F, B> where
    ID: FnMut() -> B + Clone,
    F: FnMut(B, Either<A, B>) -> B + Clone
[src]

type Item = FoldReducerA<A, ID, F, B>

impl<A, ID, F, B> Factory for FoldReducerBFactory<A, ID, F, B> where
    ID: FnMut() -> B + Clone,
    F: FnMut(B, Either<A, B>) -> B + Clone
[src]

type Item = FoldReducerB<A, ID, F, B>

impl<R0: Factory> Factory for ReduceA1Factory<R0>[src]

type Item = ReduceA1<R0::Item>

impl<R0: Factory> Factory for ReduceC1Factory<R0>[src]

type Item = ReduceC1<R0::Item>

impl<R0: Factory, R1: Factory> Factory for ReduceA2Factory<R0, R1>[src]

type Item = ReduceA2<R0::Item, R1::Item>

impl<R0: Factory, R1: Factory> Factory for ReduceC2Factory<R0, R1>[src]

type Item = ReduceC2<R0::Item, R1::Item>

impl<R0: Factory, R1: Factory, R2: Factory> Factory for ReduceA3Factory<R0, R1, R2>[src]

type Item = ReduceA3<R0::Item, R1::Item, R2::Item>

impl<R0: Factory, R1: Factory, R2: Factory> Factory for ReduceC3Factory<R0, R1, R2>[src]

type Item = ReduceC3<R0::Item, R1::Item, R2::Item>

impl<R0: Factory, R1: Factory, R2: Factory, R3: Factory> Factory for ReduceA4Factory<R0, R1, R2, R3>[src]

type Item = ReduceA4<R0::Item, R1::Item, R2::Item, R3::Item>

impl<R0: Factory, R1: Factory, R2: Factory, R3: Factory> Factory for ReduceC4Factory<R0, R1, R2, R3>[src]

type Item = ReduceC4<R0::Item, R1::Item, R2::Item, R3::Item>

impl<R0: Factory, R1: Factory, R2: Factory, R3: Factory, R4: Factory> Factory for ReduceA5Factory<R0, R1, R2, R3, R4>[src]

type Item = ReduceA5<R0::Item, R1::Item, R2::Item, R3::Item, R4::Item>

impl<R0: Factory, R1: Factory, R2: Factory, R3: Factory, R4: Factory> Factory for ReduceC5Factory<R0, R1, R2, R3, R4>[src]

type Item = ReduceC5<R0::Item, R1::Item, R2::Item, R3::Item, R4::Item>

impl<R0: Factory, R1: Factory, R2: Factory, R3: Factory, R4: Factory, R5: Factory> Factory for ReduceA6Factory<R0, R1, R2, R3, R4, R5>[src]

type Item = ReduceA6<R0::Item, R1::Item, R2::Item, R3::Item, R4::Item, R5::Item>

impl<R0: Factory, R1: Factory, R2: Factory, R3: Factory, R4: Factory, R5: Factory> Factory for ReduceC6Factory<R0, R1, R2, R3, R4, R5>[src]

type Item = ReduceC6<R0::Item, R1::Item, R2::Item, R3::Item, R4::Item, R5::Item>

impl<R0: Factory, R1: Factory, R2: Factory, R3: Factory, R4: Factory, R5: Factory, R6: Factory> Factory for ReduceA7Factory<R0, R1, R2, R3, R4, R5, R6>[src]

type Item = ReduceA7<R0::Item, R1::Item, R2::Item, R3::Item, R4::Item, R5::Item, R6::Item>

impl<R0: Factory, R1: Factory, R2: Factory, R3: Factory, R4: Factory, R5: Factory, R6: Factory> Factory for ReduceC7Factory<R0, R1, R2, R3, R4, R5, R6>[src]

type Item = ReduceC7<R0::Item, R1::Item, R2::Item, R3::Item, R4::Item, R5::Item, R6::Item>

impl<R0: Factory, R1: Factory, R2: Factory, R3: Factory, R4: Factory, R5: Factory, R6: Factory, R7: Factory> Factory for ReduceA8Factory<R0, R1, R2, R3, R4, R5, R6, R7>[src]

type Item = ReduceA8<R0::Item, R1::Item, R2::Item, R3::Item, R4::Item, R5::Item, R6::Item, R7::Item>

impl<R0: Factory, R1: Factory, R2: Factory, R3: Factory, R4: Factory, R5: Factory, R6: Factory, R7: Factory> Factory for ReduceC8Factory<R0, R1, R2, R3, R4, R5, R6, R7>[src]

type Item = ReduceC8<R0::Item, R1::Item, R2::Item, R3::Item, R4::Item, R5::Item, R6::Item, R7::Item>

impl<RF, B> Factory for NonzeroReduceFactory<RF> where
    RF: Factory,
    RF::Item: Reducer<Output = Zeroable<B>>, 
[src]

type Item = NonzeroReducer<RF::Item>

impl<RF, E> Factory for ResultReduceFactory<RF, E> where
    RF: Factory
[src]

type Item = ResultReducer<RF::Item, E>

impl<RF: Factory> Factory for OptionReduceFactory<RF>[src]

type Item = OptionReducer<RF::Item>

impl<T: Default + Reducer> Factory for DefaultReduceFactory<T>[src]

type Item = T

Loading content...