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.