[][src]Trait amadeus::IntoDistributedStream

pub trait IntoDistributedStream where
    <Self::DistStream as DistributedStream>::Item == Self::Item
{ type DistStream: DistributedStream; type Item; fn into_dist_stream(self) -> Self::DistStream; fn par_stream_mut(
        &mut self
    ) -> <&mut Self as IntoDistributedStream>::DistStream
    where
        &'a mut Self: for<'a> IntoDistributedStream
, { ... }
fn dist_stream(&self) -> <&Self as IntoDistributedStream>::DistStream
    where
        &'a Self: for<'a> IntoDistributedStream
, { ... } }

Associated Types

Loading content...

Required methods

fn into_dist_stream(self) -> Self::DistStream

Loading content...

Provided methods

fn par_stream_mut(&mut self) -> <&mut Self as IntoDistributedStream>::DistStream where
    &'a mut Self: for<'a> IntoDistributedStream

fn dist_stream(&self) -> <&Self as IntoDistributedStream>::DistStream where
    &'a Self: for<'a> IntoDistributedStream

Loading content...

Implementations on Foreign Types

impl<T> IntoDistributedStream for [T] where
    T: ProcessSend + 'static, 
[src]

type DistStream = Never

type Item = Never

impl<T> IntoDistributedStream for Vec<T> where
    T: ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

impl<'a, T, E> IntoDistributedStream for &'a Result<T, E> where
    T: Clone + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<Cloned<Iter<'a, T>>>

type Item = T

impl<'a, T> IntoDistributedStream for &'a [T] where
    T: Clone + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<Cloned<Iter<'a, T>>>

type Item = T

impl<T> IntoDistributedStream for VecDeque<T> where
    T: ProcessSend + 'static, 
[src]

impl IntoDistributedStream for String[src]

type DistStream = IterDistStream<OwnedChars>

type Item = char

impl<T, E> IntoDistributedStream for Result<T, E> where
    T: ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

impl<T> IntoDistributedStream for Option<T> where
    T: ProcessSend + 'static, 
[src]

impl<T> IntoDistributedStream for BTreeSet<T> where
    T: ProcessSend + 'static, 
[src]

impl<K, V> IntoDistributedStream for BTreeMap<K, V> where
    K: ProcessSend + 'static,
    V: ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<IntoIter<K, V>>

type Item = (K, V)

impl<T> IntoDistributedStream for BinaryHeap<T> where
    T: Ord + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

impl<'a, T> IntoDistributedStream for &'a BinaryHeap<T> where
    T: Clone + Ord + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<Cloned<Iter<'a, T>>>

type Item = T

impl<'a, T> IntoDistributedStream for &'a Option<T> where
    T: Clone + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<Cloned<Iter<'a, T>>>

type Item = T

impl<'a, K, V> IntoDistributedStream for &'a BTreeMap<K, V> where
    K: Clone + ProcessSend + 'static,
    V: Clone + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<TupleCloned<Iter<'a, K, V>>>

type Item = (K, V)

impl<Idx> IntoDistributedStream for RangeInclusive<Idx> where
    RangeInclusive<Idx>: Iterator,
    <RangeInclusive<Idx> as Iterator>::Item: ProcessSend,
    <RangeInclusive<Idx> as Iterator>::Item: 'static, 
[src]

impl<'a> IntoDistributedStream for &'a String[src]

impl<Idx> IntoDistributedStream for Range<Idx> where
    Range<Idx>: Iterator,
    <Range<Idx> as Iterator>::Item: ProcessSend,
    <Range<Idx> as Iterator>::Item: 'static, 
[src]

type DistStream = IterDistStream<Range<Idx>>

type Item = <Range<Idx> as Iterator>::Item

impl<'a, T> IntoDistributedStream for &'a LinkedList<T> where
    T: Clone + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<Cloned<Iter<'a, T>>>

type Item = T

impl<'a, T, S> IntoDistributedStream for &'a HashSet<T, S> where
    S: BuildHasher + Default,
    T: Clone + Eq + Hash + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<Cloned<Iter<'a, T>>>

type Item = T

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

type DistStream = IterDistStream<IntoIter<K, V>>

type Item = (K, V)

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

impl<'a, T> IntoDistributedStream for &'a VecDeque<T> where
    T: Clone + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<Cloned<Iter<'a, T>>>

type Item = T

impl<T> IntoDistributedStream for LinkedList<T> where
    T: ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

impl<'a, T> IntoDistributedStream for &'a BTreeSet<T> where
    T: Clone + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<Cloned<Iter<'a, T>>>

type Item = T

impl<'a, K, V, S> IntoDistributedStream for &'a HashMap<K, V, S> where
    K: Clone + Eq + Hash + ProcessSend + 'static,
    S: BuildHasher + Default,
    V: Clone + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<TupleCloned<Iter<'a, K, V>>>

type Item = (K, V)

impl<'a, T> IntoDistributedStream for &'a Vec<T> where
    T: Clone + ProcessSend + 'static, 
[src]

type DistStream = IterDistStream<Cloned<Iter<'a, T>>>

type Item = T

impl<Idx> IntoDistributedStream for RangeFrom<Idx> where
    RangeFrom<Idx>: Iterator,
    <RangeFrom<Idx> as Iterator>::Item: ProcessSend,
    <RangeFrom<Idx> as Iterator>::Item: 'static, 
[src]

type DistStream = IterDistStream<RangeFrom<Idx>>

type Item = <RangeFrom<Idx> as Iterator>::Item

Loading content...

Implementors

impl<T> IntoDistributedStream for T where
    T: DistributedStream
[src]

Loading content...