pub fn set_executor(sp: &'static dyn LocalSpawn)
Expand description

Sets the global executor for the current thread to a &'static dyn LocalSpawn.