Struct oci_spec::runtime::LinuxMemory
source · [−]pub struct LinuxMemory { /* private fields */ }Expand description
LinuxMemory for Linux cgroup ‘memory’ resource management.
Implementations
Memory reservation or soft_limit (in bytes).
Kernel memory limit for tcp (in bytes).
How aggressive the kernel will swap memory pages.
DisableOOMKiller disables the OOM killer for out of memory conditions.
Enables hierarchical memory accounting
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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
impl RefUnwindSafe for LinuxMemory
impl Send for LinuxMemory
impl Sync for LinuxMemory
impl Unpin for LinuxMemory
impl UnwindSafe for LinuxMemory
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.