Struct futures_util::stream::TryCollect
source · [−]pub struct TryCollect<St, C> { /* private fields */ }
Expand description
Future for the try_collect
method.
Trait Implementations
impl<St, C> FusedFuture for TryCollect<St, C> where
St: TryStream + FusedStream,
C: Default + Extend<St::Ok>,
impl<St, C> FusedFuture for TryCollect<St, C> where
St: TryStream + FusedStream,
C: Default + Extend<St::Ok>,
Returns true
if the underlying future should no longer be polled.
Auto Trait Implementations
impl<St, C> RefUnwindSafe for TryCollect<St, C> where
C: RefUnwindSafe,
St: RefUnwindSafe,
impl<St, C> Send for TryCollect<St, C> where
C: Send,
St: Send,
impl<St, C> Sync for TryCollect<St, C> where
C: Sync,
St: Sync,
impl<St, C> UnwindSafe for TryCollect<St, C> where
C: UnwindSafe,
St: UnwindSafe,
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.