Struct sysutil::ProcessorUsage
source · pub struct ProcessorUsage {
pub total: f32,
pub user: f32,
pub nice: f32,
pub system: f32,
pub idle: f32,
pub iowait: f32,
pub interrupt: f32,
pub soft_interrupt: f32,
}
Expand description
Encloses the different parameters relative to processor usage
Fields§
§total: f32
§user: f32
§nice: f32
§system: f32
§idle: f32
§iowait: f32
§interrupt: f32
§soft_interrupt: f32
Trait Implementations§
source§impl Clone for ProcessorUsage
impl Clone for ProcessorUsage
source§fn clone(&self) -> ProcessorUsage
fn clone(&self) -> ProcessorUsage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ProcessorUsage
impl Send for ProcessorUsage
impl Sync for ProcessorUsage
impl Unpin for ProcessorUsage
impl UnwindSafe for ProcessorUsage
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