pub struct Events {
pub oom: Option<u64>,
pub oom_kill: Option<u64>,
}Expand description
What a cgroup’s memory.events counted so far, its descendants’ included; None for a counter the file lacks
or that doesn’t parse, which says nothing either way.
Fields§
§oom: Option<u64>Times its memory, or a descendant’s under its own limit, reached the limit, reclaim could not bring it down
and an allocation was about to fail (oom). Not max, which counts every reclaim at the limit, page
cache’s included.
oom_kill: Option<u64>Processes the kernel killed in it for memory (oom_kill).
Trait Implementations§
impl Copy for Events
impl Eq for Events
impl StructuralPartialEq for Events
Auto Trait Implementations§
impl Freeze for Events
impl RefUnwindSafe for Events
impl Send for Events
impl Sync for Events
impl Unpin for Events
impl UnsafeUnpin for Events
impl UnwindSafe for Events
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.