Struct crossbeam_utils::thread::ScopedJoinHandle [−][src]
pub struct ScopedJoinHandle<'a, T: 'a> { /* fields omitted */ }
A handle to a scoped thread
Methods
impl<'a, T: Send + 'a> ScopedJoinHandle<'a, T>
[src]
impl<'a, T: Send + 'a> ScopedJoinHandle<'a, T>
pub fn join(self) -> Result<T>
[src]
pub fn join(self) -> Result<T>
Join the scoped thread, returning the result it produced.
pub fn thread(&self) -> &Thread
[src]
pub fn thread(&self) -> &Thread
Get the underlying thread handle.
Trait Implementations
impl<'a, T> Debug for ScopedJoinHandle<'a, T>
[src]
impl<'a, T> Debug for ScopedJoinHandle<'a, T>
Auto Trait Implementations
impl<'a, T> !Send for ScopedJoinHandle<'a, T>
impl<'a, T> !Send for ScopedJoinHandle<'a, T>
impl<'a, T> !Sync for ScopedJoinHandle<'a, T>
impl<'a, T> !Sync for ScopedJoinHandle<'a, T>