pub fn spawn<F>(future: F) -> Task<F::Output>Expand description
Spawns a Future<Output = T> that can execute on
any thread; returns a Task.
The future will be polled to completion in the background. Awaiting the
returned task has no effect when the future is polled. Dropping the task
will cancel the future, unless you call Task::detach() first.