Struct async_shutdown::WrapVital [−][src]
pub struct WrapVital<F> { /* fields omitted */ }
Expand description
Wrapped future that triggers a shutdown when it completes or is dropped.
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for WrapVital<F> where
F: RefUnwindSafe,
impl<F> UnwindSafe for WrapVital<F> where
F: 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.