pub struct ThreadId(/* private fields */);
Available on crate feature
multitask
only.Expand description
A unique identifier for a running thread.
Implementations§
Trait Implementations§
source§impl PartialEq for ThreadId
impl PartialEq for ThreadId
impl Copy for ThreadId
impl Eq for ThreadId
impl StructuralEq for ThreadId
impl StructuralPartialEq for ThreadId
Auto Trait Implementations§
impl RefUnwindSafe for ThreadId
impl Send for ThreadId
impl Sync for ThreadId
impl Unpin for ThreadId
impl UnwindSafe for ThreadId
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