Function tokio::runtime::context::runtime_mt::exit_runtime

source ·
pub(crate) fn exit_runtime<F: FnOnce() -> R, R>(f: F) -> R
Expand description

Forces the current “entered” state to be cleared while the closure is executed.