[−][src]Struct smol::stream::ForEachFuture
Future for the StreamExt::for_each()
method.
Trait Implementations
impl<S, F> Debug for ForEachFuture<S, F> where
F: Debug,
S: Debug,
[src]
F: Debug,
S: Debug,
impl<S, F> Future for ForEachFuture<S, F> where
F: FnMut(<S as Stream>::Item),
S: Stream,
[src]
F: FnMut(<S as Stream>::Item),
S: Stream,
type Output = ()
The type of value produced on completion.
fn poll(
self: Pin<&mut ForEachFuture<S, F>>,
cx: &mut Context<'_>
) -> Poll<<ForEachFuture<S, F> as Future>::Output>
[src]
self: Pin<&mut ForEachFuture<S, F>>,
cx: &mut Context<'_>
) -> Poll<<ForEachFuture<S, F> as Future>::Output>
impl<'__pin, S, F> Unpin for ForEachFuture<S, F> where
__Origin<'__pin, S, F>: Unpin,
[src]
__Origin<'__pin, S, F>: Unpin,
Auto Trait Implementations
impl<S, F> RefUnwindSafe for ForEachFuture<S, F> where
F: RefUnwindSafe,
S: RefUnwindSafe,
F: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, F> Send for ForEachFuture<S, F> where
F: Send,
S: Send,
F: Send,
S: Send,
impl<S, F> Sync for ForEachFuture<S, F> where
F: Sync,
S: Sync,
F: Sync,
S: Sync,
impl<S, F> UnwindSafe for ForEachFuture<S, F> where
F: UnwindSafe,
S: UnwindSafe,
F: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<F> FutureExt for F where
F: Future + ?Sized,
[src]
F: Future + ?Sized,
fn or<F>(self, other: F) -> Or<Self, F>ⓘ where
F: Future<Output = Self::Output>,
[src]
F: Future<Output = Self::Output>,
fn boxed<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'a + Send>>ⓘ where
Self: Send + 'a,
[src]
Self: Send + 'a,
fn boxed_local<'a>(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'a>>ⓘ where
Self: 'a,
[src]
Self: 'a,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,