pub fn run<F, T>(blocking_fn: F) -> impl Future<Output = T>Expand description
Executes a task in a new thread, returning a Future to .await the result.
See the crate-level documentation for details.
ยงPanics
Panics if it fails to spawn a thread.