Struct probes::cpu::proc::CpuStatPercentages
source · pub struct CpuStatPercentages {
pub total_usage: f32,
pub user: f32,
pub nice: f32,
pub system: f32,
pub idle: f32,
pub iowait: f32,
pub irq: f32,
pub softirq: f32,
pub steal: f32,
pub guest: f32,
pub guestnice: f32,
}
Expand description
Cpu stats converted to percentages
Fields§
§total_usage: f32
§user: f32
§nice: f32
§system: f32
§idle: f32
§iowait: f32
§irq: f32
§softirq: f32
§steal: f32
§guest: f32
§guestnice: f32
Trait Implementations§
source§impl Debug for CpuStatPercentages
impl Debug for CpuStatPercentages
source§impl PartialEq for CpuStatPercentages
impl PartialEq for CpuStatPercentages
source§fn eq(&self, other: &CpuStatPercentages) -> bool
fn eq(&self, other: &CpuStatPercentages) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CpuStatPercentages
Auto Trait Implementations§
impl Freeze for CpuStatPercentages
impl RefUnwindSafe for CpuStatPercentages
impl Send for CpuStatPercentages
impl Sync for CpuStatPercentages
impl Unpin for CpuStatPercentages
impl UnwindSafe for CpuStatPercentages
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