pub trait IntoParallelStream {
type Item: Send;
type IntoParStream: ParallelStream<Item = Self::Item>;
// Required method
fn into_par_stream(self) -> Self::IntoParStream;
}
Expand description
Conversion into a ParallelStream
.
Required Associated Types§
Sourcetype IntoParStream: ParallelStream<Item = Self::Item>
type IntoParStream: ParallelStream<Item = Self::Item>
Which kind of stream are we turning this into?
Required Methods§
Sourcefn into_par_stream(self) -> Self::IntoParStream
fn into_par_stream(self) -> Self::IntoParStream
Creates a parallel stream from a value.