Struct futures_util::try_stream::TryNext [−][src]
#[must_use = "streams do nothing unless polled"]pub struct TryNext<'a, St: '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 + 'a> Debug for TryNext<'a, St>
[src]
impl<'a, St: Debug + '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<'a, St: TryStream + Unpin> Unpin for TryNext<'a, St>
[src]
impl<'a, St: TryStream + Unpin> Unpin for TryNext<'a, St>
impl<'a, St: TryStream + Unpin> Future for TryNext<'a, St>
[src]
impl<'a, St: TryStream + Unpin> Future for TryNext<'a, 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