[][src]Trait amadeus_core::into_par_stream::IntoDistributedStream

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

Associated Types

type DistStream: DistributedStream<Item = Self::Item>

type Item

Loading content...

Required methods

fn into_dist_stream(self) -> Self::DistStream where
    Self: Sized

Loading content...

Provided methods

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

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

Loading content...

Implementations on Foreign Types

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

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

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

type Item = T

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

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

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

type Item = T

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

impl<'a, T: Ord + Clone> IntoDistributedStream for &'a BinaryHeap<T> where
    T: 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: Clone> IntoDistributedStream for &'a LinkedList<T> where
    T: ProcessSend + 'static, 
[src]

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

type Item = T

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

impl<'a, T: Clone, S> IntoDistributedStream for &'a HashSet<T, S> where
    T: Eq + Hash + ProcessSend + 'static,
    S: BuildHasher + Default
[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,
    V: ProcessSend + 'static,
    S: BuildHasher + Default
[src]

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

type Item = (K, V)

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

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

type Item = (K, V)

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

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

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

type Item = T

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<'a, K: Clone, V: Clone> IntoDistributedStream for &'a BTreeMap<K, V> where
    K: ProcessSend + 'static,
    V: ProcessSend + 'static, 
[src]

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

type Item = (K, V)

impl IntoDistributedStream for String[src]

type DistStream = IterDistStream<IntoChars>

type Item = char

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

type DistStream = IterDistStream<Chars<'a>>

type Item = char

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

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

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

type Item = T

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

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

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

type Item = T

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

type DistStream = IterDistStream<Self>

type Item = Self::Item

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

type DistStream = IterDistStream<Self>

type Item = Self::Item

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

type DistStream = IterDistStream<Self>

type Item = Self::Item

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

type DistStream = Never

type Item = Never

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

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

type Item = T

Loading content...

Implementors

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

type DistStream = Self

type Item = Self::Item

Loading content...