pub struct Stats {
pub host_info: HostInfo,
pub cpu: Vec<Cpu>,
pub memory: MemStats,
pub load: LoadAvg,
pub swap: SwapStats,
pub fs: Vec<Disk>,
pub net_io: HashMap<String, NetIO>,
}Expand description
System stats/information from sysinfo
Fields§
§host_info: HostInfo§cpu: Vec<Cpu>§memory: MemStats§load: LoadAvg§swap: SwapStats§fs: Vec<Disk>§net_io: HashMap<String, NetIO>Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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