pub type JoinHandle<T> = Task<Result<T, Box<dyn Any + Send>>>;
Expand description
Type alias for Task<Result<T, Box<dyn Any + Send>>>
, which resolves to an
Err
when the spawned future panicked.
Aliased Typeยง
struct JoinHandle<T> { /* private fields */ }