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§

source

async fn from_concurrent_stream<T>(iter: T) -> Self
where T: IntoConcurrentStream<Item = A>,

Creates a value from a concurrent iterator.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> FromConcurrentStream<T> for Vec<T>

source§

async fn from_concurrent_stream<S>(iter: S) -> Self
where S: IntoConcurrentStream<Item = T>,

Implementors§