[−][src]Struct futures_util::try_stream::TryForEach
#[must_use = "streams do nothing unless polled"]pub struct TryForEach<St, Fut, F> { /* fields omitted */ }
A stream combinator which attempts to execute an async closure over each future in a stream.
This future is returned by the TryStream::try_for_each
method.
Trait Implementations
impl<St: Debug, Fut: Debug, F: Debug> Debug for TryForEach<St, Fut, F>
[src]
impl<St: Debug, Fut: Debug, F: Debug> Debug for TryForEach<St, Fut, F>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<St: Unpin, Fut: Unpin, F> Unpin for TryForEach<St, Fut, F>
[src]
impl<St: Unpin, Fut: Unpin, F> Unpin for TryForEach<St, Fut, F>
impl<St, Fut, F> Future for TryForEach<St, Fut, F> where
St: TryStream,
F: FnMut(St::Ok) -> Fut,
Fut: TryFuture<Ok = (), Error = St::Error>,
[src]
impl<St, Fut, F> Future for TryForEach<St, Fut, F> where
St: TryStream,
F: FnMut(St::Ok) -> Fut,
Fut: TryFuture<Ok = (), Error = St::Error>,
type Output = Result<(), St::Error>
🔬 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<Self::Output>
[src]
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>
🔬 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
Auto Trait Implementations
impl<St, Fut, F> Send for TryForEach<St, Fut, F> where
F: Send,
Fut: Send,
St: Send,
impl<St, Fut, F> Send for TryForEach<St, Fut, F> where
F: Send,
Fut: Send,
St: Send,
impl<St, Fut, F> Sync for TryForEach<St, Fut, F> where
F: Sync,
Fut: Sync,
St: Sync,
impl<St, Fut, F> Sync for TryForEach<St, Fut, F> where
F: Sync,
Fut: Sync,
St: Sync,