fn rayon_spawn<F, R>( thread_pool: &ThreadPool, func: F, ) -> impl Future<Output = R>where F: FnOnce() -> R + Send + 'static, R: Send + 'static + Debug,