pub struct AsyncMap<I, F> { /* private fields */ }Trait Implementations§
Source§impl<B, I, F, Fut> AsyncIterator for AsyncMap<I, F>
impl<B, I, F, Fut> AsyncIterator for AsyncMap<I, F>
type Item = B
async fn next_async(&mut self) -> Option<Self::Item>
fn async_size_hint(&self) -> (usize, Option<usize>)
fn sync_iter(&mut self) -> impl Future<Output = SyncIter<IntoIter<Self::Item>>>where
Self: Sized,
fn async_collect<B>(self) -> impl Future<Output = B>
Auto Trait Implementations§
impl<I, F> Freeze for AsyncMap<I, F>
impl<I, F> RefUnwindSafe for AsyncMap<I, F>where
I: RefUnwindSafe,
F: RefUnwindSafe,
impl<I, F> Send for AsyncMap<I, F>
impl<I, F> Sync for AsyncMap<I, F>
impl<I, F> Unpin for AsyncMap<I, F>
impl<I, F> UnwindSafe for AsyncMap<I, F>where
I: UnwindSafe,
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsyncIterTools for Twhere
T: AsyncIterator + ?Sized,
impl<T> AsyncIterTools for Twhere
T: AsyncIterator + ?Sized,
Source§fn for_each_async<F, Fut>(self, f: F) -> impl Future<Output = ()>
fn for_each_async<F, Fut>(self, f: F) -> impl Future<Output = ()>
Calls an async closure on each element of an iterator Read more
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more