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