pub struct JoinHandle<T> { /* private fields */ }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> !UnwindSafe for JoinHandle<T>
impl<T> Freeze for JoinHandle<T>
impl<T> Unpin for JoinHandle<T>
impl<T> UnsafeUnpin for JoinHandle<T>where
Arc<Packet<T>>: UnsafeUnpin,
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