pub fn spawn_blocking<F, R>(func: F) -> JoinHandle<R>
where F: FnOnce() -> R + Send + 'static, R: Send + 'static,
Expand description

spawn_blocking on the current Tokio runtime.