pub trait FromConcurrentStream<A>: Sized {
// Required method
async fn from_concurrent_stream<T>(iter: T) -> Self
where T: IntoConcurrentStream<Item = A>;
}
Expand description
Conversion from a ConcurrentStream
Required Methods§
sourceasync fn from_concurrent_stream<T>(iter: T) -> Selfwhere
T: IntoConcurrentStream<Item = A>,
async fn from_concurrent_stream<T>(iter: T) -> Selfwhere
T: IntoConcurrentStream<Item = A>,
Creates a value from a concurrent iterator.
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.