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.
Object Safety§
This trait is not object safe.