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.