Trait amadeus::IntoDistributedStream[][src]

pub trait IntoDistributedStream {
    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

Required methods

Provided methods

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

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

Implementations on Foreign Types

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

pub fn into_dist_stream(
    self
) -> <BTreeSet<T> as IntoDistributedStream>::DistStream where
    BTreeSet<T>: Sized
[src]

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

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

type Item = T

pub fn into_dist_stream(
    self
) -> <&'a Vec<T, Global> as IntoDistributedStream>::DistStream where
    &'a Vec<T, Global>: Sized
[src]

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

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

type Item = T

pub fn into_dist_stream(
    self
) -> <&'a VecDeque<T> as IntoDistributedStream>::DistStream where
    &'a VecDeque<T>: Sized
[src]

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

pub fn into_dist_stream(
    self
) -> <BinaryHeap<T> as IntoDistributedStream>::DistStream where
    BinaryHeap<T>: Sized
[src]

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

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

type Item = T

pub fn into_dist_stream(
    self
) -> <&'a BTreeSet<T> as IntoDistributedStream>::DistStream where
    &'a BTreeSet<T>: Sized
[src]

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

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

type Item = T

pub fn into_dist_stream(self) -> <&'a [T] as IntoDistributedStream>::DistStream

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
where
    &'a [T]: Sized
[src]

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

pub fn into_dist_stream(
    self
) -> <RangeFrom<Idx> as IntoDistributedStream>::DistStream where
    RangeFrom<Idx>: Sized
[src]

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)

pub fn into_dist_stream(
    self
) -> <HashMap<K, V, S> as IntoDistributedStream>::DistStream where
    HashMap<K, V, S>: Sized
[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

pub fn into_dist_stream(
    self
) -> <Range<Idx> as IntoDistributedStream>::DistStream where
    Range<Idx>: Sized
[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)

pub fn into_dist_stream(
    self
) -> <BTreeMap<K, V> as IntoDistributedStream>::DistStream where
    BTreeMap<K, V>: Sized
[src]

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

pub fn into_dist_stream(
    self
) -> <Option<T> as IntoDistributedStream>::DistStream where
    Option<T>: Sized
[src]

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

pub fn into_dist_stream(
    self
) -> <LinkedList<T> as IntoDistributedStream>::DistStream where
    LinkedList<T>: Sized
[src]

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

type DistStream = IterDistStream<IntoIter<T, Global>>

type Item = T

pub fn into_dist_stream(
    self
) -> <Vec<T, Global> as IntoDistributedStream>::DistStream where
    Vec<T, Global>: Sized
[src]

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

pub fn into_dist_stream(
    self
) -> <VecDeque<T> as IntoDistributedStream>::DistStream where
    VecDeque<T>: Sized
[src]

impl IntoDistributedStream for String[src]

type DistStream = IterDistStream<OwnedChars>

type Item = char

pub fn into_dist_stream(self) -> <String as IntoDistributedStream>::DistStream where
    String: Sized
[src]

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

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

type Item = T

pub fn into_dist_stream(
    self
) -> <&'a HashSet<T, S> as IntoDistributedStream>::DistStream where
    &'a HashSet<T, S>: Sized
[src]

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

type DistStream = IterDistStream<Chars<'a>>

type Item = char

pub fn into_dist_stream(
    self
) -> <&'a String as IntoDistributedStream>::DistStream where
    &'a String: Sized
[src]

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

pub fn into_dist_stream(
    self
) -> <HashSet<T, S> as IntoDistributedStream>::DistStream where
    HashSet<T, S>: Sized
[src]

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

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

type Item = T

pub fn into_dist_stream(
    self
) -> <&'a BinaryHeap<T> as IntoDistributedStream>::DistStream where
    &'a BinaryHeap<T>: Sized
[src]

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

pub fn into_dist_stream(
    self
) -> <&'a Result<T, E> as IntoDistributedStream>::DistStream where
    &'a Result<T, E>: Sized
[src]

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

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

type Item = (K, V)

pub fn into_dist_stream(
    self
) -> <&'a HashMap<K, V, S> as IntoDistributedStream>::DistStream where
    &'a HashMap<K, V, S>: Sized
[src]

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

type DistStream = Never

type Item = Never

pub fn into_dist_stream(self) -> <[T] as IntoDistributedStream>::DistStream

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
where
    [T]: Sized
[src]

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

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

type Item = T

pub fn into_dist_stream(
    self
) -> <&'a LinkedList<T> as IntoDistributedStream>::DistStream where
    &'a LinkedList<T>: Sized
[src]

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

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

type Item = T

pub fn into_dist_stream(
    self
) -> <&'a Option<T> as IntoDistributedStream>::DistStream where
    &'a Option<T>: Sized
[src]

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

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

type DistStream = IterDistStream<IntoIter<T>>

type Item = T

pub fn into_dist_stream(
    self
) -> <Result<T, E> as IntoDistributedStream>::DistStream where
    Result<T, E>: Sized
[src]

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)

pub fn into_dist_stream(
    self
) -> <&'a BTreeMap<K, V> as IntoDistributedStream>::DistStream where
    &'a BTreeMap<K, V>: Sized
[src]

Implementors