Struct cgroupfs::MemoryEvents
source · pub struct MemoryEvents {
pub low: Option<u64>,
pub high: Option<u64>,
pub max: Option<u64>,
pub oom: Option<u64>,
pub oom_kill: Option<u64>,
}
Fields§
§low: Option<u64>
§high: Option<u64>
§max: Option<u64>
§oom: Option<u64>
§oom_kill: Option<u64>
Trait Implementations§
source§impl Clone for MemoryEvents
impl Clone for MemoryEvents
source§fn clone(&self) -> MemoryEvents
fn clone(&self) -> MemoryEvents
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 MemoryEvents
impl Debug for MemoryEvents
source§impl Default for MemoryEvents
impl Default for MemoryEvents
source§fn default() -> MemoryEvents
fn default() -> MemoryEvents
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MemoryEvents
impl<'de> Deserialize<'de> for MemoryEvents
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 MemoryEvents
impl PartialEq for MemoryEvents
source§fn eq(&self, other: &MemoryEvents) -> bool
fn eq(&self, other: &MemoryEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MemoryEvents
impl Serialize for MemoryEvents
impl Eq for MemoryEvents
impl StructuralPartialEq for MemoryEvents
Auto Trait Implementations§
impl Freeze for MemoryEvents
impl RefUnwindSafe for MemoryEvents
impl Send for MemoryEvents
impl Sync for MemoryEvents
impl Unpin for MemoryEvents
impl UnwindSafe for MemoryEvents
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