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

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

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

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.