pub struct CpuUsage { /* private fields */ }
Expand description
Process CPU usage measurement.
See Process::cpu_usage method for details.
Trait Implementations§
Source§impl Sub for CpuUsage
impl Sub for CpuUsage
Source§type Output = Quantity<dyn Dimension<Kind = dyn Kind, T = Z0, Th = Z0, M = Z0, J = Z0, L = Z0, N = Z0, I = Z0>, dyn Units<f32, amount_of_substance = mole, luminous_intensity = candela, mass = kilogram, electric_current = ampere, thermodynamic_temperature = kelvin, time = second, length = meter>, f32>
type Output = Quantity<dyn Dimension<Kind = dyn Kind, T = Z0, Th = Z0, M = Z0, J = Z0, L = Z0, N = Z0, I = Z0>, dyn Units<f32, amount_of_substance = mole, luminous_intensity = candela, mass = kilogram, electric_current = ampere, thermodynamic_temperature = kelvin, time = second, length = meter>, f32>
The resulting type after applying the
-
operator.Auto Trait Implementations§
impl Freeze for CpuUsage
impl !RefUnwindSafe for CpuUsage
impl Send for CpuUsage
impl Sync for CpuUsage
impl Unpin for CpuUsage
impl !UnwindSafe for CpuUsage
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