pub trait AsyncIteratorExt<R: Send, E: Send, F: Future<Output = Result<R, E>> + Send>:
Iterator<Item = F>
+ Sized
+ Send {
// Provided method
fn try_collect_async_vec<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Vec<R>, E>> + Send + 'async_trait>>
where Self: Sized + 'async_trait { ... }
}Provided Methods§
fn try_collect_async_vec<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Vec<R>, E>> + Send + 'async_trait>>where
Self: Sized + '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.