pub fn try_spawn_async<TFn, TFuture, T>(
f: TFn,
) -> Result<JoinHandle<T>, SpawnError>Expand description
Same as spawn_async but captures thread creation failure.
pub fn try_spawn_async<TFn, TFuture, T>(
f: TFn,
) -> Result<JoinHandle<T>, SpawnError>Same as spawn_async but captures thread creation failure.