pub fn spawn<F, T>(future: F) -> JoinHandle<T>
    where
        F: Future<Output = T> + Send + 'static,
        T: Send + 'static,
{
    get_global_executor().spawn(future)
}
/// Spawn a future on the global executor
Spawn a future on the global executor
Spawn a future on the global executor
pub fn spawn<F, T>(future: F) -> JoinHandle<T>
    where
        F: Future<Output = T> + Send + 'static,
        T: Send + 'static,
{
    get_global_executor().spawn(future)
}
pub fn spawn < F , T > ( future : F ) -> JoinHandle < T > where F : Future < Output = T > + Send + ' static , T : Send + ' static , { get_global_executor ( ) . spawn ( future ) }
Spawn a future on the global executor
Spawn a future on the global executor
future
F