Struct futures_util::stream::ForEachConcurrent
source · [−]pub struct ForEachConcurrent<St, Fut, F> { /* private fields */ }
Expand description
Future for the for_each_concurrent
method.
Trait Implementations
impl<St, Fut, F> FusedFuture for ForEachConcurrent<St, Fut, F> where
St: Stream,
F: FnMut(St::Item) -> Fut,
Fut: Future<Output = ()>,
impl<St, Fut, F> FusedFuture for ForEachConcurrent<St, Fut, F> where
St: Stream,
F: FnMut(St::Item) -> Fut,
Fut: Future<Output = ()>,
Returns true
if the underlying future should no longer be polled.
impl<'__pin, St, Fut, F> Unpin for ForEachConcurrent<St, Fut, F> where
__Origin<'__pin, St, Fut, F>: Unpin,
Auto Trait Implementations
impl<St, Fut, F> !RefUnwindSafe for ForEachConcurrent<St, Fut, F>
impl<St, Fut, F> Send for ForEachConcurrent<St, Fut, F> where
F: Send,
Fut: Send,
St: Send,
impl<St, Fut, F> Sync for ForEachConcurrent<St, Fut, F> where
F: Sync,
Fut: Sync,
St: Sync,
impl<St, Fut, F> !UnwindSafe for ForEachConcurrent<St, Fut, F>
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.