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