pub struct Thread(/* private fields */);Expand description
a thread started by thread_spawn; join it to wait for its end (and free its stack)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Thread
impl !Sync for Thread
impl !UnwindSafe for Thread
impl Forget for Thread
impl Freeze for Thread
impl Unpin for Thread
impl UnsafeUnpin for Thread
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