pub struct UId {
uid: usize,
tid: Id,
}Expand description
Unique identifier for a thread. Build from TaskId and ThreadId.
Fields§
§uid: usizeA globally unique identifier for the thread.
tid: IdThe task-local identifier for the thread.
Implementations§
Trait Implementations§
Source§impl Ord for UId
impl Ord for UId
Source§impl PartialOrd for UId
impl PartialOrd for UId
impl Copy for UId
impl Eq for UId
Auto Trait Implementations§
impl Freeze for UId
impl RefUnwindSafe for UId
impl Send for UId
impl Sync for UId
impl Unpin for UId
impl UnwindSafe for UId
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