pub struct Stat { /* private fields */ }
Implementations§
Source§impl Stat
impl Stat
pub fn cpu(&self) -> &Cpu
pub fn cpu_n(&self) -> &Vec<Cpu>
pub fn intr(&self) -> &Vec<u64>
pub fn ctxt(&self) -> &u64
pub fn btime(&self) -> &u64
pub fn procs_running(&self) -> &u64
pub fn processes(&self) -> &u64
pub fn procs_blocked(&self) -> &u64
pub fn softirq(&self) -> &Vec<u64>
Trait Implementations§
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl Freeze for Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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