[][src]Trait amadeus_core::into_par_stream::IntoParallelStream

pub trait IntoParallelStream {
    type ParStream: ParallelStream<Item = Self::Item>;
    type Item;
    fn into_par_stream(self) -> Self::ParStream
    where
        Self: Sized
; fn par_stream_mut(&mut self) -> <&mut Self as IntoParallelStream>::ParStream
    where
        &'a mut Self: IntoParallelStream
, { ... }
fn par_stream(&self) -> <&Self as IntoParallelStream>::ParStream
    where
        &'a Self: IntoParallelStream
, { ... } }

Associated Types

type ParStream: ParallelStream<Item = Self::Item>

type Item

Loading content...

Required methods

fn into_par_stream(self) -> Self::ParStream where
    Self: Sized

Loading content...

Provided methods

fn par_stream_mut(&mut self) -> <&mut Self as IntoParallelStream>::ParStream where
    &'a mut Self: IntoParallelStream

fn par_stream(&self) -> <&Self as IntoParallelStream>::ParStream where
    &'a Self: IntoParallelStream

Loading content...

Implementations on Foreign Types

impl<T> IntoParallelStream for Vec<T> where
    T: Send + 'static, 
[src]

type ParStream = IterParStream<IntoIter<T>>

type Item = T

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

type ParStream = IterParStream<Cloned<Iter<'a, T>>>

type Item = T

impl<T> IntoParallelStream for VecDeque<T> where
    T: Send + 'static, 
[src]

type ParStream = IterParStream<IntoIter<T>>

type Item = T

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

type ParStream = IterParStream<Cloned<Iter<'a, T>>>

type Item = T

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

type ParStream = IterParStream<IntoIter<T>>

type Item = T

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

type ParStream = IterParStream<Cloned<Iter<'a, T>>>

type Item = T

impl<T> IntoParallelStream for LinkedList<T> where
    T: Send + 'static, 
[src]

type ParStream = IterParStream<IntoIter<T>>

type Item = T

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

type ParStream = IterParStream<Cloned<Iter<'a, T>>>

type Item = T

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

type ParStream = IterParStream<IntoIter<T>>

type Item = T

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

type ParStream = IterParStream<Cloned<Iter<'a, T>>>

type Item = T

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

type ParStream = IterParStream<IntoIter<K, V>>

type Item = (K, V)

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

type ParStream = IterParStream<TupleCloned<Iter<'a, K, V>>>

type Item = (K, V)

impl<T> IntoParallelStream for BTreeSet<T> where
    T: Send + 'static, 
[src]

type ParStream = IterParStream<IntoIter<T>>

type Item = T

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

type ParStream = IterParStream<Cloned<Iter<'a, T>>>

type Item = T

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

type ParStream = IterParStream<IntoIter<K, V>>

type Item = (K, V)

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

type ParStream = IterParStream<TupleCloned<Iter<'a, K, V>>>

type Item = (K, V)

impl IntoParallelStream for String[src]

type ParStream = IterParStream<IntoChars>

type Item = char

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

type ParStream = IterParStream<Chars<'a>>

type Item = char

impl<T> IntoParallelStream for Option<T> where
    T: Send + 'static, 
[src]

type ParStream = IterParStream<IntoIter<T>>

type Item = T

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

type ParStream = IterParStream<Cloned<Iter<'a, T>>>

type Item = T

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

type ParStream = IterParStream<IntoIter<T>>

type Item = T

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

type ParStream = IterParStream<Cloned<Iter<'a, T>>>

type Item = T

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

type ParStream = IterParStream<Self>

type Item = Self::Item

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

type ParStream = IterParStream<Self>

type Item = Self::Item

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

type ParStream = IterParStream<Self>

type Item = Self::Item

impl<T> IntoParallelStream for [T] where
    T: Send + 'static, 
[src]

type ParStream = Never

type Item = Never

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

type ParStream = IterParStream<Cloned<Iter<'a, T>>>

type Item = T

Loading content...

Implementors

impl<T: ParallelStream> IntoParallelStream for T[src]

type ParStream = Self

type Item = Self::Item

Loading content...