Struct procfs::IoPressure
source · [−]pub struct IoPressure {
pub some: PressureRecord,
pub full: PressureRecord,
}
Expand description
IO pressure information
Fields
some: PressureRecord
This record indicates the share of time in which at least some tasks are stalled
full: PressureRecord
This record indicates this share of time in which all non-idle tasks are stalled simultaneously.
Implementations
sourceimpl IoPressure
impl IoPressure
sourcepub fn new() -> ProcResult<IoPressure>
pub fn new() -> ProcResult<IoPressure>
Get IO pressure information
Trait Implementations
sourceimpl Clone for IoPressure
impl Clone for IoPressure
sourcefn clone(&self) -> IoPressure
fn clone(&self) -> IoPressure
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 IoPressure
impl Send for IoPressure
impl Sync for IoPressure
impl Unpin for IoPressure
impl UnwindSafe for IoPressure
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