Struct futures_util::try_stream::TryCollect [−][src]
#[must_use = "streams do nothing unless polled"]pub struct TryCollect<S, C> where
S: TryStream, { /* 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<S: Debug, C: Debug> Debug for TryCollect<S, C> where
S: TryStream, [src]
impl<S: Debug, C: Debug> Debug for TryCollect<S, C> where
S: TryStream, fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<S: Unpin + TryStream, C> Unpin for TryCollect<S, C>[src]
impl<S: Unpin + TryStream, C> Unpin for TryCollect<S, C>impl<S, C> Future for TryCollect<S, C> where
S: TryStream,
C: Default + Extend<S::Ok>, [src]
impl<S, C> Future for TryCollect<S, C> where
S: TryStream,
C: Default + Extend<S::Ok>, type Output = Result<C, S::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<S, C> Send for TryCollect<S, C> where
C: Send,
S: Send,
impl<S, C> Send for TryCollect<S, C> where
C: Send,
S: Send, impl<S, C> Sync for TryCollect<S, C> where
C: Sync,
S: Sync,
impl<S, C> Sync for TryCollect<S, C> where
C: Sync,
S: Sync,