pub fn join<T>(join_handle: JoinHandle<Result<T>>) -> Result<T, Report>
Joins a thread handle and returns the result.