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