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;
impl<T> Future for Task<T> type Output = T;
Spawn a future on the current thread.
Panics if the runtime is not running.