Type Alias WithRuntime

Source
pub type WithRuntime<F> = WithRuntime<F>;
Expand description

A wrapper that ensures a function is executed within a specific runtime context. This is a type alias for crate::with_runtime::WithRuntime<F>.

Aliased Type§

struct WithRuntime<F> {
    runtime: Handle,
    fut: F,
}

Fields§

§runtime: Handle§fut: F