Struct cgroupfs::MemoryPressure
source · pub struct MemoryPressure {
pub some: PressureMetrics,
pub full: PressureMetrics,
}
Fields§
§some: PressureMetrics
§full: PressureMetrics
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 Default for MemoryPressure
impl Default for MemoryPressure
source§fn default() -> MemoryPressure
fn default() -> MemoryPressure
Returns the “default value” for a type. Read more
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 PartialEq for MemoryPressure
impl PartialEq for MemoryPressure
source§fn eq(&self, other: &MemoryPressure) -> bool
fn eq(&self, other: &MemoryPressure) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MemoryPressure
impl Serialize for MemoryPressure
impl StructuralPartialEq for MemoryPressure
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