pub struct ProcId {
pub pid: u32,
pub start_time: u64,
}Expand description
Process identity: (pid, start_time). start_time is milliseconds since the Unix epoch
(Linux: btime + starttime/CLK_TCK; macOS: pbi_start_tvsec/usec). Used for identity only.
Fields§
§pid: u32§start_time: u64Implementations§
Trait Implementations§
impl Copy for ProcId
Source§impl<'de> Deserialize<'de> for ProcId
impl<'de> Deserialize<'de> for ProcId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProcId
Source§impl Ord for ProcId
impl Ord for ProcId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ProcId
impl PartialOrd for ProcId
impl StructuralPartialEq for ProcId
Auto Trait Implementations§
impl Forget for ProcId
impl Freeze for ProcId
impl Move for ProcId
impl RefUnwindSafe for ProcId
impl Send for ProcId
impl Sync for ProcId
impl Unpin for ProcId
impl UnsafeUnpin for ProcId
impl UnwindSafe for ProcId
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