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