pub struct Proc {
pub id: Id,
pub ppid: u32,
pub cpu_ns: u64,
}Expand description
One process in a snapshot: who it is, whose child it is, and the CPU it and every child it has reaped have used, in nanoseconds.
Fields§
§id: Id§ppid: u32§cpu_ns: u64Trait Implementations§
impl Copy for Proc
impl Eq for Proc
impl StructuralPartialEq for Proc
Auto Trait Implementations§
impl Freeze for Proc
impl RefUnwindSafe for Proc
impl Send for Proc
impl Sync for Proc
impl Unpin for Proc
impl UnsafeUnpin for Proc
impl UnwindSafe for Proc
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