[−][src]Function runtime_raw::set_runtime
pub fn set_runtime(runtime: &'static dyn Runtime)
Set the current runtime.
This function must be called at the beginning of runtime's threads before they start polling any futures.
pub fn set_runtime(runtime: &'static dyn Runtime)
Set the current runtime.
This function must be called at the beginning of runtime's threads before they start polling any futures.