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<N = Z0, L = Z0, M = Z0, Kind = dyn Kind, Th = Z0, I = Z0, T = Z0, J = Z0>, dyn Units<f32, length = meter, luminous_intensity = candela, amount_of_substance = mole, time = second, mass = kilogram, thermodynamic_temperature = kelvin, electric_current = ampere>, f32>
type Output = Quantity<dyn Dimension<N = Z0, L = Z0, M = Z0, Kind = dyn Kind, Th = Z0, I = Z0, T = Z0, J = Z0>, dyn Units<f32, length = meter, luminous_intensity = candela, amount_of_substance = mole, time = second, mass = kilogram, thermodynamic_temperature = kelvin, electric_current = ampere>, 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