Skip to main content

JoinHandleExt

Trait JoinHandleExt 

Source
pub trait JoinHandleExt<T> {
    // Required method
    fn join_unwrap(self) -> T;
}
Expand description

Extension trait for JoinHandle.

Required Methods§

Source

fn join_unwrap(self) -> T

This function is a wrapper self.join().unwrap().

This function panics only on stack-overflow or OOM on the spawned thread.

Implementations on Foreign Types§

Source§

impl<T> JoinHandleExt<T> for JoinHandle<T>

Source§

fn join_unwrap(self) -> T

Source§

impl<T> JoinHandleExt<T> for ScopedJoinHandle<'_, T>

Source§

fn join_unwrap(self) -> T

Implementors§