pub struct ProcessSnapshot {
pub pid: u32,
pub parent_pid: u32,
pub start_time_a: u64,
pub start_time_b: u64,
}Expand description
A platform-owned identity record used when observing a process tree. The timestamp fields are opaque host-native creation-time components and must only be compared for equality.
Fields§
§pid: u32§parent_pid: u32§start_time_a: u64§start_time_b: u64Trait Implementations§
Source§impl Clone for ProcessSnapshot
impl Clone for ProcessSnapshot
Source§fn clone(&self) -> ProcessSnapshot
fn clone(&self) -> ProcessSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProcessSnapshot
Source§impl Debug for ProcessSnapshot
impl Debug for ProcessSnapshot
impl Eq for ProcessSnapshot
Source§impl PartialEq for ProcessSnapshot
impl PartialEq for ProcessSnapshot
impl StructuralPartialEq for ProcessSnapshot
Auto Trait Implementations§
impl Freeze for ProcessSnapshot
impl RefUnwindSafe for ProcessSnapshot
impl Send for ProcessSnapshot
impl Sync for ProcessSnapshot
impl Unpin for ProcessSnapshot
impl UnsafeUnpin for ProcessSnapshot
impl UnwindSafe for ProcessSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more