[−][src]Struct cgroups_rs::memory::OomControl
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]
pub fn default() -> OomControl
[src]
impl Eq for OomControl
[src]
impl PartialEq<OomControl> for OomControl
[src]
pub fn eq(&self, other: &OomControl) -> bool
[src]
pub fn ne(&self, other: &OomControl) -> bool
[src]
impl StructuralEq for OomControl
[src]
impl StructuralPartialEq for OomControl
[src]
Auto Trait Implementations
impl RefUnwindSafe for OomControl
[src]
impl Send for OomControl
[src]
impl Sync for OomControl
[src]
impl Unpin for OomControl
[src]
impl UnwindSafe for OomControl
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,