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