pub struct UsageRates {
pub cpu_percent: f64,
pub wakeups_per_second: Option<f64>,
pub disk_ops_per_second: Option<f64>,
pub disk_read_bytes_per_second: Option<f64>,
pub disk_write_bytes_per_second: Option<f64>,
}Expand description
Rates between two snapshots. Each rate is None when either snapshot lacks the counter.
Fields§
§cpu_percent: f64Process CPU percent of one core (100 = one full core) over the interval.
wakeups_per_second: Option<f64>§disk_ops_per_second: Option<f64>§disk_read_bytes_per_second: Option<f64>§disk_write_bytes_per_second: Option<f64>Trait Implementations§
Source§impl Clone for UsageRates
impl Clone for UsageRates
impl Copy for UsageRates
Source§impl Debug for UsageRates
impl Debug for UsageRates
Source§impl Default for UsageRates
impl Default for UsageRates
Source§impl PartialEq for UsageRates
impl PartialEq for UsageRates
impl StructuralPartialEq for UsageRates
Auto Trait Implementations§
impl Freeze for UsageRates
impl RefUnwindSafe for UsageRates
impl Send for UsageRates
impl Sync for UsageRates
impl Unpin for UsageRates
impl UnsafeUnpin for UsageRates
impl UnwindSafe for UsageRates
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