Struct procfs::CpuPressure
source · [−]pub struct CpuPressure {
pub some: PressureRecord,
}
Expand description
CPU pressure information
Fields
some: PressureRecord
Implementations
sourceimpl CpuPressure
impl CpuPressure
sourcepub fn new() -> ProcResult<CpuPressure>
pub fn new() -> ProcResult<CpuPressure>
Get CPU pressure information
Trait Implementations
sourceimpl Clone for CpuPressure
impl Clone for CpuPressure
sourcefn clone(&self) -> CpuPressure
fn clone(&self) -> CpuPressure
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for CpuPressure
impl Send for CpuPressure
impl Sync for CpuPressure
impl Unpin for CpuPressure
impl UnwindSafe for CpuPressure
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more