pub fn join(self) -> ThreadResult<()> {
        // Insist on joining all threads even if some of them fail.
        #[allow(clippy::needless_collect)]
        let results: Vec<ThreadResult<()>> = self
            .workers
            .into_iter()
            .map(|h| h.join_handle.join())
            .collect();
        results.into_iter().collect::<ThreadResult<()>>()
    }
/// Wait for all workers in the runtime to terminate.
///
/// The calling thread blocks until all worker threads have terminated.
Wait for all workers in the runtime to terminate.
The calling thread blocks until all worker threads have terminated.
Wait for all workers in the runtime to terminate . The calling thread blocks until all worker threads have terminated .
pub fn join(self) -> ThreadResult<()> {
        // Insist on joining all threads even if some of them fail.
        #[allow(clippy::needless_collect)]
        let results: Vec<ThreadResult<()>> = self
            .workers
            .into_iter()
            .map(|h| h.join_handle.join())
            .collect();
        results.into_iter().collect::<ThreadResult<()>>()
    }
pub fn join ( self ) -> ThreadResult < ( ) > { // Insist on joining all threads even if some of them fail. # [ allow ( clippy needless_collect ) ] let results : Vec < ThreadResult < ( ) > > = self . workers . into_iter ( ) . map ( | h | h . join_handle . join ( ) ) . collect ( ) ; results . into_iter ( ) . collect :: < ThreadResult < ( ) > > ( ) }
Wait for all workers in the runtime to terminate.
Wait for all workers in the runtime to terminate .
self