pub trait IntoParallelStream {
type ParStream: ParallelStream<Item = Self::Item>;
type Item;
// Required method
fn into_par_stream(self) -> Self::ParStream
where Self: Sized;
// Provided methods
fn par_stream_mut(&mut self) -> <&mut Self as IntoParallelStream>::ParStream
where for<'a> &'a mut Self: IntoParallelStream { ... }
fn par_stream(&self) -> <&Self as IntoParallelStream>::ParStream
where for<'a> &'a Self: IntoParallelStream { ... }
}Required Associated Types§
Required Methods§
fn into_par_stream(self) -> Self::ParStreamwhere
Self: Sized,
Provided Methods§
fn par_stream_mut(&mut self) -> <&mut Self as IntoParallelStream>::ParStreamwhere
for<'a> &'a mut Self: IntoParallelStream,
fn par_stream(&self) -> <&Self as IntoParallelStream>::ParStreamwhere
for<'a> &'a Self: IntoParallelStream,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.