pub struct CPUPercents {
pub user: f64,
pub kernel: f64,
pub idle: f64,
pub iowait: f64,
pub swap: f64,
pub nice: f64,
pub time_taken: Duration,
}Fields§
§user: f64§kernel: f64§idle: f64§iowait: f64§swap: f64§nice: f64§time_taken: DurationTrait Implementations§
Source§impl Clone for CPUPercents
impl Clone for CPUPercents
Source§fn clone(&self) -> CPUPercents
fn clone(&self) -> CPUPercents
Returns a duplicate 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 Freeze for CPUPercents
impl RefUnwindSafe for CPUPercents
impl Send for CPUPercents
impl Sync for CPUPercents
impl Unpin for CPUPercents
impl UnwindSafe for CPUPercents
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