#[repr(transparent)]pub struct ProcessId(pub u64);
Expand description
A process id is a unique identifier for a process. It is not guaranteed to be the same across multiple runs of the same process. It is only guaranteed to be unique for the duration of the process. This matches the operating system’s definition of a process id.
Tuple Fields§
§0: u64
Trait Implementations§
impl Copy for ProcessId
impl Eq for ProcessId
impl StructuralPartialEq for ProcessId
Auto Trait Implementations§
impl Freeze for ProcessId
impl RefUnwindSafe for ProcessId
impl Send for ProcessId
impl Sync for ProcessId
impl Unpin for ProcessId
impl UnwindSafe for ProcessId
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