[−][src]Struct futures_util::try_stream::TryNext
#[must_use = "streams do nothing unless polled"]pub struct TryNext<'a, St: Unpin + 'a> { /* fields omitted */ }
A future which attempts to collect all of the values of a stream.
This future is created by the Stream::try_collect
method.
Trait Implementations
impl<'a, St: Debug + Unpin + 'a> Debug for TryNext<'a, St>
[src]
impl<'a, St: Debug + Unpin + 'a> Debug for TryNext<'a, St>
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, '_> Unpin for TryNext<'_, St>
[src]
impl<St: Unpin, '_> Unpin for TryNext<'_, St>
impl<St: TryStream + Unpin, '_> Future for TryNext<'_, St>
[src]
impl<St: TryStream + Unpin, '_> Future for TryNext<'_, St>
type Output = Result<Option<St::Ok>, 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