pub trait AsyncLendingIteratorExt: AsyncLendingIterator {
// Provided methods
fn map_ok<F, O>(self, func: F) -> MapOk<Self, F>
where F: Fn(Self::Ok<'_>) -> O,
Self: Sized { ... }
fn try_collect<T>(self) -> impl Future<Output = Result<T, Self::Err>> + Send
where T: Default + for<'i> Extend<Self::Ok<'i>> + Send,
Self: Send + Sized { ... }
fn try_collect_into<T>(
self,
collection: T,
) -> impl Future<Output = Result<T, Self::Err>> + Send
where T: for<'i> Extend<Self::Ok<'i>> + Send,
Self: Send + Sized { ... }
}
Provided Methods§
fn map_ok<F, O>(self, func: F) -> MapOk<Self, F>
fn try_collect<T>(self) -> impl Future<Output = Result<T, Self::Err>> + Send
fn try_collect_into<T>( self, collection: T, ) -> impl Future<Output = Result<T, Self::Err>> + Send
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.