Struct axstd::thread::JoinHandle
source · pub struct JoinHandle<T> { /* private fields */ }
Available on crate feature
multitask
only.Expand description
An owned permission to join on a thread (block on its termination).
A JoinHandle
detaches the associated thread when it is dropped, which
means that there is no longer any handle to the thread and no way to join
on it.
Implementations§
Trait Implementations§
impl<T> Send for JoinHandle<T>
impl<T> Sync for JoinHandle<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for JoinHandle<T>
impl<T> Unpin for JoinHandle<T>
impl<T> !UnwindSafe for JoinHandle<T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more