pub struct HostCpu {Show 17 fields
pub load_one: f32,
pub load_five: f32,
pub load_fifteen: f32,
pub proc_run: u32,
pub proc_total: u32,
pub cpu_num: u32,
pub cpu_speed: u32,
pub uptime: u32,
pub cpu_user: u32,
pub cpu_nice: u32,
pub cpu_system: u32,
pub cpu_idle: u32,
pub cpu_wio: u32,
pub cpu_intr: u32,
pub cpu_sintr: u32,
pub interrupts: u32,
pub contexts: u32,
}Fields§
§load_one: f321-minute load average.
load_five: f325-minute load average.
load_fifteen: f3215-minute load average.
proc_run: u32§proc_total: u32§cpu_num: u32§cpu_speed: u32§uptime: u32§cpu_user: u32§cpu_nice: u32§cpu_system: u32§cpu_idle: u32§cpu_wio: u32§cpu_intr: u32§cpu_sintr: u32§interrupts: u32§contexts: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for HostCpu
impl<'de> Deserialize<'de> for HostCpu
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for HostCpu
Auto Trait Implementations§
impl Freeze for HostCpu
impl RefUnwindSafe for HostCpu
impl Send for HostCpu
impl Sync for HostCpu
impl Unpin for HostCpu
impl UnsafeUnpin for HostCpu
impl UnwindSafe for HostCpu
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