pub type JoinHandle<T> = Task<Result<T, Box<dyn Any + Send>>>;
Available on crate feature
runtime
only.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 */ }