Struct sigar_rs::process::CPU

source ·
pub struct CPU {
    pub start_time: u64,
    pub user: u64,
    pub sys: u64,
    pub total: u64,
    pub last_time: u64,
    pub percent: f64,
}
Expand description

Process cpu usage

Fields§

§start_time: u64§user: u64§sys: u64§total: u64§last_time: u64§percent: f64

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.