Struct futures_util::stream::ForEach [−][src]
pub struct ForEach<St, Fut, F> { /* fields omitted */ }
Expand description
Future for the for_each
method.
Trait Implementations
impl<St, Fut, F> FusedFuture for ForEach<St, Fut, F> where
St: FusedStream,
F: FnMut(St::Item) -> Fut,
Fut: Future<Output = ()>,
impl<St, Fut, F> FusedFuture for ForEach<St, Fut, F> where
St: FusedStream,
F: FnMut(St::Item) -> Fut,
Fut: Future<Output = ()>,
Returns true
if the underlying future should no longer be polled.
Auto Trait Implementations
impl<St, Fut, F> RefUnwindSafe for ForEach<St, Fut, F> where
F: RefUnwindSafe,
Fut: RefUnwindSafe,
St: RefUnwindSafe,
impl<St, Fut, F> UnwindSafe for ForEach<St, Fut, F> where
F: UnwindSafe,
Fut: UnwindSafe,
St: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.