pub enum OomScope {
ContainerLimit,
HostOrParent,
}Expand description
Where the OOM killer that killed processes in the container came from.
Variants§
ContainerLimit
oom_kill <= oom: the container hit its own memory limit.
HostOrParent
oom_kill > oom: a host-wide or parent cgroup OOM killed processes.
Implementations§
Trait Implementations§
impl Copy for OomScope
impl Eq for OomScope
impl StructuralPartialEq for OomScope
Auto Trait Implementations§
impl Freeze for OomScope
impl RefUnwindSafe for OomScope
impl Send for OomScope
impl Sync for OomScope
impl Unpin for OomScope
impl UnsafeUnpin for OomScope
impl UnwindSafe for OomScope
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