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