Skip to main content

set_global_runtime

Function set_global_runtime 

Source
pub fn set_global_runtime<R>(runtime: R) -> Result<(), &'static str>
where R: Runtime,
Expand description

Sets the global runtime from a Runtime object.

It is effective only when none of runtime-* feature is enabled.