Struct futures_util::future::Flatten
source · [−]pub struct Flatten<F> where
F: Future, { /* private fields */ }
Expand description
Future for the flatten
method.
Trait Implementations
impl<F> FusedFuture for Flatten<F> where
Flatten<F, <F as Future>::Output>: FusedFuture,
F: Future,
impl<F> FusedFuture for Flatten<F> where
Flatten<F, <F as Future>::Output>: FusedFuture,
F: Future,
Returns true
if the underlying future should no longer be polled.
The type of value produced on completion.
Auto Trait Implementations
impl<F> RefUnwindSafe for Flatten<F> where
F: RefUnwindSafe,
<F as Future>::Output: RefUnwindSafe,
impl<F> UnwindSafe for Flatten<F> where
F: UnwindSafe,
<F as Future>::Output: 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.