pub struct Stat {
pub total_cpu: Option<CpuStat>,
pub cpus_map: Option<BTreeMap<u32, CpuStat>>,
pub total_interrupt_count: Option<u64>,
pub context_switches: Option<u64>,
pub boot_time_epoch_secs: Option<u64>,
pub total_processes: Option<u64>,
pub running_processes: Option<u32>,
pub blocked_processes: Option<u32>,
}
Fields§
§total_cpu: Option<CpuStat>
§cpus_map: Option<BTreeMap<u32, CpuStat>>
§total_interrupt_count: Option<u64>
§context_switches: Option<u64>
§boot_time_epoch_secs: Option<u64>
§total_processes: Option<u64>
§running_processes: Option<u32>
§blocked_processes: Option<u32>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Stat
impl<'de> Deserialize<'de> for Stat
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
source§impl PartialEq for Stat
impl PartialEq for Stat
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