pub fn spawn_local<F>(future: F)
where
    F: Future<Output = ()> + 'static,
{
    Inner::spawn_local(
        &EHandle::local().inner,
        LocalFutureObj::new(Box::new(future)),
    );
}
/// Spawn a new task to be run on the global executor.
///
/// This is similar to the `spawn` function, but tasks spawned using this method
/// do not have to be threadsafe (implement the `Send` trait). In return, this method
/// requires that the current executor never be run in a multithreaded mode-- only
/// `run_singlethreaded` can be used.
Spawn a new task to be run on the global executor.
This is similar to the `spawn` function, but tasks spawned using this method
do not have to be threadsafe (implement the `Send` trait). In return, this method
requires that the current executor never be run in a multithreaded mode-- only
`run_singlethreaded` can be used.
Spawn a new task to be run on the global executor . This is similar to the ` spawn ` function but tasks spawned using this method do not have to be threadsafe ( implement the ` Send ` trait ) . In return this method requires that the current executor never be run in a multithreaded mode -- only ` run_singlethreaded ` can be used .
pub fn spawn_local<F>(future: F)
where
    F: Future<Output = ()> + 'static,
{
    Inner::spawn_local(
        &EHandle::local().inner,
        LocalFutureObj::new(Box::new(future)),
    );
}
pub fn spawn_local < F > ( future : F ) where F : Future < Output = ( ) > + ' static , { Inner :: spawn_local ( & EHandle :: local ( ) . inner , LocalFutureObj :: new ( Box :: new ( future ) ) , ) ; }
Spawn a new task to be run on the global executor.
Spawn a new task to be run on the global executor .
future
F
future
F