runtime_raw

Function enter

Source
pub fn enter<R, F, T>(rt: R, fut: F) -> T
where R: Runtime, F: Future<Output = T> + Send + 'static, T: Send + 'static,
Expand description

Runs a future inside a runtime and blocks on the result.