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

Runs the provided function on an executor dedicated to blocking operations.