[][src]Trait amadeus_core::dist_iter::FromDistributedIterator

pub trait FromDistributedIterator<T>: Sized {
    type ReduceAFactory: ReduceFactory<Reducer = Self::ReduceA>;
    type ReduceA: ReducerA<Item = T> + ProcessSend;
    type ReduceB: Reducer<Item = <Self::ReduceA as Reducer>::Output, Output = Self>;
    fn reducers() -> (Self::ReduceAFactory, Self::ReduceB);
}

Associated Types

type ReduceAFactory: ReduceFactory<Reducer = Self::ReduceA>

type ReduceA: ReducerA<Item = T> + ProcessSend

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

Loading content...

Required methods

fn reducers() -> (Self::ReduceAFactory, Self::ReduceB)

Loading content...

Implementations on Foreign Types

impl<T> FromDistributedIterator<T> for Vec<T> where
    T: ProcessSend
[src]

impl<T> FromDistributedIterator<T> for VecDeque<T> where
    T: ProcessSend
[src]

impl<T: Ord> FromDistributedIterator<T> for BinaryHeap<T> where
    T: ProcessSend
[src]

impl<T> FromDistributedIterator<T> for LinkedList<T> where
    T: ProcessSend
[src]

impl<T, S> FromDistributedIterator<T> for HashSet<T, S> where
    T: Eq + Hash + ProcessSend,
    S: BuildHasher + Default + Send + 'static, 
[src]

impl<K, V, S> FromDistributedIterator<(K, V)> for HashMap<K, V, S> where
    K: Eq + Hash + ProcessSend,
    V: ProcessSend,
    S: BuildHasher + Default + Send + 'static, 
[src]

impl<T> FromDistributedIterator<T> for BTreeSet<T> where
    T: Ord + ProcessSend
[src]

impl<K, V> FromDistributedIterator<(K, V)> for BTreeMap<K, V> where
    K: Ord + ProcessSend,
    V: ProcessSend
[src]

impl FromDistributedIterator<char> for String[src]

impl FromDistributedIterator<String> for String[src]

impl FromDistributedIterator<()> for ()[src]

impl<T, C: FromDistributedIterator<T>> FromDistributedIterator<Option<T>> for Option<C>[src]

impl<T, C: FromDistributedIterator<T>, E> FromDistributedIterator<Result<T, E>> for Result<C, E> where
    E: ProcessSend
[src]

Loading content...

Implementors

Loading content...