[][src]Struct cgroups_rs::memory::OomControl

pub struct OomControl {
    pub oom_kill_disable: bool,
    pub under_oom: bool,
    pub oom_kill: u64,
}

Controls statistics and controls about the OOM killer operating in this control group.

Fields

oom_kill_disable: bool

If true, the OOM killer has been disabled for the tasks in this control group.

under_oom: bool

Is the OOM killer currently running for the tasks in the control group?

oom_kill: u64

How many tasks were killed by the OOM killer so far.

Trait Implementations

impl Debug for OomControl[src]

impl Default for OomControl[src]

impl Eq for OomControl[src]

impl PartialEq<OomControl> for OomControl[src]

impl StructuralEq for OomControl[src]

impl StructuralPartialEq for OomControl[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.