Function sqlx_core::rt::spawn_blocking

source ·
pub fn spawn_blocking<F, R>(f: F) -> JoinHandle<R> 
where F: FnOnce() -> R + Send + 'static, R: Send + 'static,