pub struct ProcRow {
pub pid: u32,
pub ppid: Option<u32>,
pub start_key: u64,
pub started_at_ms: Option<u64>,
pub name: String,
pub cpu_milli: Option<u32>,
pub mem: Option<u64>,
pub mem_resident: Option<u64>,
}Expand description
One process in a ProcFrame. Absent values are ones the host’s OS
wouldn’t give without elevation, never zeros.
Fields§
§pid: u32§ppid: Option<u32>§start_key: u64With pid, tells the process apart from a later one with its PID.
started_at_ms: Option<u64>§name: StringThe executable’s name. Never its command line.
cpu_milli: Option<u32>CPU since the previous Procs, in thousandths of one core.
mem: Option<u64>Private memory, bytes (ProcFrame::memory_metric).
mem_resident: Option<u64>Trait Implementations§
impl Eq for ProcRow
impl StructuralPartialEq for ProcRow
Auto Trait Implementations§
impl Freeze for ProcRow
impl RefUnwindSafe for ProcRow
impl Send for ProcRow
impl Sync for ProcRow
impl Unpin for ProcRow
impl UnsafeUnpin for ProcRow
impl UnwindSafe for ProcRow
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