pub struct MemoryPressure {
pub some: PressureRecord,
pub full: PressureRecord,
}Expand description
Memory pressure information
Fields§
§some: PressureRecordThis record indicates the share of time in which at least some tasks are stalled.
full: PressureRecordThis 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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnsafeUnpin 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