pub fn spawn_local<F: Future + 'static>(future: F) -> Task<F::Output>Notable traits for Task<T>impl<T> Future for Task<T>    type Output = T;
Expand description

Spawn a future on the current thread.

Panics

Panics if the runtime is not running.