spawn_str

Function spawn_str 

Source
pub fn spawn_str<F, T>(name: &str, f: F) -> JoinHandle<T>
where F: FnOnce() -> T + Send + 'static, T: Send + 'static,