pub trait IntoVec: StreamExt {
// Provided method
fn into_vec<'async_trait, T>(
self,
) -> Pin<Box<dyn Future<Output = Result<Vec<T>>> + Send + 'async_trait>>
where Self: Sized + Send + 'async_trait,
T: Send + 'async_trait,
Vec<Result<T>>: Extend<Self::Item> { ... }
}
Provided Methods§
fn into_vec<'async_trait, T>( self, ) -> Pin<Box<dyn Future<Output = Result<Vec<T>>> + Send + 'async_trait>>
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.