pub fn try_spawn<F, T>(f: F) -> Result<JoinHandle<T>, SpawnError>Expand description
Same as spawn but captures thread creation failure.
pub fn try_spawn<F, T>(f: F) -> Result<JoinHandle<T>, SpawnError>Same as spawn but captures thread creation failure.