pub struct MemoryPressure {
pub some: PressureRecord,
pub full: PressureRecord,
}
Expand description
Memory 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.
Trait Implementations§
source§impl Clone for MemoryPressure
impl Clone for MemoryPressure
source§fn clone(&self) -> MemoryPressure
fn clone(&self) -> MemoryPressure
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MemoryPressure
impl Debug for MemoryPressure
source§impl<'de> Deserialize<'de> for MemoryPressure
impl<'de> Deserialize<'de> for MemoryPressure
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromBufRead for MemoryPressure
impl FromBufRead for MemoryPressure
fn from_buf_read<R: BufRead>(r: R) -> ProcResult<Self>
Auto Trait Implementations§
impl Freeze for MemoryPressure
impl RefUnwindSafe for MemoryPressure
impl Send for MemoryPressure
impl Sync for MemoryPressure
impl Unpin for MemoryPressure
impl UnwindSafe for MemoryPressure
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)