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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Current for MemoryPressure
impl Current for MemoryPressure
Source§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<MemoryPressure, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryPressure, <__D as Deserializer<'de>>::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>(r: R) -> Result<MemoryPressure, ProcError>where
R: BufRead,
Source§impl Serialize for MemoryPressure
impl Serialize for MemoryPressure
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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