Struct futures_util::stream::ForEach [−][src]
#[must_use = "streams do nothing unless polled"]pub struct ForEach<St, Fut, F> { /* fields omitted */ }
A stream combinator which executes a unit closure over each item on a stream.
This structure is returned by the Stream::for_each method.
Trait Implementations
impl<St: Debug, Fut: Debug, F: Debug> Debug for ForEach<St, Fut, F>[src]
impl<St: Debug, Fut: Debug, F: Debug> Debug for ForEach<St, Fut, F>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<St, Fut, F> Unpin for ForEach<St, Fut, F> where
St: Stream + Unpin,
F: FnMut(St::Item) -> Fut,
Fut: Future<Output = ()> + Unpin, [src]
impl<St, Fut, F> Unpin for ForEach<St, Fut, F> where
St: Stream + Unpin,
F: FnMut(St::Item) -> Fut,
Fut: Future<Output = ()> + Unpin, impl<St, Fut, F> Future for ForEach<St, Fut, F> where
St: Stream,
F: FnMut(St::Item) -> Fut,
Fut: Future<Output = ()>, [src]
impl<St, Fut, F> Future for ForEach<St, Fut, F> where
St: Stream,
F: FnMut(St::Item) -> Fut,
Fut: Future<Output = ()>, type Output = ()
🔬 This is a nightly-only experimental API. (futures_api)
futures in libcore are unstable
The result of the Future.
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<()>[src]
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<()>🔬 This is a nightly-only experimental API. (futures_api)
futures in libcore are unstable
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more