pub fn spawn_local<F>(future: F) -> Task<<F as Future>::Output>ⓘNotable traits for Task<T>impl<T> Future for Task<T> type Output = T; where F: 'static + Future,
impl<T> Future for Task<T> type Output = T;
Spawn a future on the current thread.
Panics if the runtime is not running.