Trait amadeus::IntoParallelStream[][src]

pub trait IntoParallelStream {
    type ParStream: ParallelStream;
    type Item;
    fn into_par_stream(self) -> Self::ParStream;

    fn par_stream_mut(&mut self) -> <&mut Self as IntoParallelStream>::ParStream
    where
        &'a mut Self: for<'a> IntoParallelStream
, { ... }
fn par_stream(&self) -> <&Self as IntoParallelStream>::ParStream
    where
        &'a Self: for<'a> IntoParallelStream
, { ... } }

Associated Types

Required methods

Provided methods

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

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

Implementations on Foreign Types

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

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

type Item = T

pub fn into_par_stream(
    self
) -> <&'a Result<T, E> as IntoParallelStream>::ParStream where
    &'a Result<T, E>: Sized
[src]

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

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

type Item = (K, V)

pub fn into_par_stream(
    self
) -> <&'a BTreeMap<K, V> as IntoParallelStream>::ParStream where
    &'a BTreeMap<K, V>: Sized
[src]

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

type ParStream = IterParStream<IntoIter<T>>

type Item = T

pub fn into_par_stream(self) -> <BTreeSet<T> as IntoParallelStream>::ParStream where
    BTreeSet<T>: Sized
[src]

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

type ParStream = IterParStream<IntoIter<T>>

type Item = T

pub fn into_par_stream(self) -> <LinkedList<T> as IntoParallelStream>::ParStream where
    LinkedList<T>: Sized
[src]

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

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

type Item = T

pub fn into_par_stream(
    self
) -> <&'a VecDeque<T> as IntoParallelStream>::ParStream where
    &'a VecDeque<T>: Sized
[src]

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

type ParStream = IterParStream<Range<Idx>>

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

pub fn into_par_stream(self) -> <Range<Idx> as IntoParallelStream>::ParStream where
    Range<Idx>: Sized
[src]

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

type ParStream = IterParStream<IntoIter<T>>

type Item = T

pub fn into_par_stream(self) -> <Result<T, E> as IntoParallelStream>::ParStream where
    Result<T, E>: Sized
[src]

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)

pub fn into_par_stream(
    self
) -> <BTreeMap<K, V> as IntoParallelStream>::ParStream where
    BTreeMap<K, V>: Sized
[src]

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)

pub fn into_par_stream(
    self
) -> <HashMap<K, V, S> as IntoParallelStream>::ParStream where
    HashMap<K, V, S>: Sized
[src]

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

pub fn into_par_stream(self) -> <HashSet<T, S> as IntoParallelStream>::ParStream where
    HashSet<T, S>: Sized
[src]

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

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

type Item = T

pub fn into_par_stream(self) -> <&'a Option<T> as IntoParallelStream>::ParStream where
    &'a Option<T>: Sized
[src]

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

type ParStream = IterParStream<IntoIter<T>>

type Item = T

pub fn into_par_stream(self) -> <VecDeque<T> as IntoParallelStream>::ParStream where
    VecDeque<T>: Sized
[src]

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

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

type Item = T

pub fn into_par_stream(
    self
) -> <&'a BTreeSet<T> as IntoParallelStream>::ParStream where
    &'a BTreeSet<T>: Sized
[src]

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

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

type Item = T

pub fn into_par_stream(
    self
) -> <&'a LinkedList<T> as IntoParallelStream>::ParStream where
    &'a LinkedList<T>: Sized
[src]

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

type ParStream = IterParStream<RangeInclusive<Idx>>

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

pub fn into_par_stream(
    self
) -> <RangeInclusive<Idx> as IntoParallelStream>::ParStream where
    RangeInclusive<Idx>: Sized
[src]

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

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

type Item = T

pub fn into_par_stream(self) -> <&'a [T] as IntoParallelStream>::ParStream

Notable traits for &'_ [u8]

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

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

type ParStream = IterParStream<IntoIter<T, Global>>

type Item = T

pub fn into_par_stream(
    self
) -> <Vec<T, Global> as IntoParallelStream>::ParStream where
    Vec<T, Global>: Sized
[src]

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

type ParStream = IterParStream<IntoIter<T>>

type Item = T

pub fn into_par_stream(self) -> <Option<T> as IntoParallelStream>::ParStream where
    Option<T>: Sized
[src]

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

type ParStream = IterParStream<IntoIter<T>>

type Item = T

pub fn into_par_stream(self) -> <BinaryHeap<T> as IntoParallelStream>::ParStream where
    BinaryHeap<T>: Sized
[src]

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

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

type Item = T

pub fn into_par_stream(
    self
) -> <&'a BinaryHeap<T> as IntoParallelStream>::ParStream where
    &'a BinaryHeap<T>: Sized
[src]

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

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

type Item = (K, V)

pub fn into_par_stream(
    self
) -> <&'a HashMap<K, V, S> as IntoParallelStream>::ParStream where
    &'a HashMap<K, V, S>: Sized
[src]

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

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

type Item = T

pub fn into_par_stream(
    self
) -> <&'a HashSet<T, S> as IntoParallelStream>::ParStream where
    &'a HashSet<T, S>: Sized
[src]

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

type ParStream = IterParStream<Chars<'a>>

type Item = char

pub fn into_par_stream(self) -> <&'a String as IntoParallelStream>::ParStream where
    &'a String: Sized
[src]

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

type ParStream = IterParStream<RangeFrom<Idx>>

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

pub fn into_par_stream(
    self
) -> <RangeFrom<Idx> as IntoParallelStream>::ParStream where
    RangeFrom<Idx>: Sized
[src]

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

type ParStream = Never

type Item = Never

pub fn into_par_stream(self) -> <[T] as IntoParallelStream>::ParStream

Notable traits for &'_ [u8]

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

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

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

type Item = T

pub fn into_par_stream(
    self
) -> <&'a Vec<T, Global> as IntoParallelStream>::ParStream where
    &'a Vec<T, Global>: Sized
[src]

impl IntoParallelStream for String[src]

type ParStream = IterParStream<OwnedChars>

type Item = char

pub fn into_par_stream(self) -> <String as IntoParallelStream>::ParStream where
    String: Sized
[src]

Implementors

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

type ParStream = T

type Item = <T as ParallelStream>::Item

pub fn into_par_stream(self) -> <T as IntoParallelStream>::ParStream[src]