Struct cgroups_rs::memory::OomControl
source · [−]Expand description
Controls statistics and controls about the OOM killer operating in this control group.
Fields
oom_kill_disable: boolIf true, the OOM killer has been disabled for the tasks in this control group.
under_oom: boolIs the OOM killer currently running for the tasks in the control group?
oom_kill: u64How many tasks were killed by the OOM killer so far.
Trait Implementations
sourceimpl Debug for OomControl
impl Debug for OomControl
sourceimpl Default for OomControl
impl Default for OomControl
sourcefn default() -> OomControl
fn default() -> OomControl
Returns the “default value” for a type. Read more
sourceimpl PartialEq<OomControl> for OomControl
impl PartialEq<OomControl> for OomControl
sourcefn eq(&self, other: &OomControl) -> bool
fn eq(&self, other: &OomControl) -> bool
impl Eq for OomControl
impl StructuralEq for OomControl
impl StructuralPartialEq for OomControl
Auto Trait Implementations
impl RefUnwindSafe for OomControl
impl Send for OomControl
impl Sync for OomControl
impl Unpin for OomControl
impl UnwindSafe for OomControl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more