pub enum MemoryLimitSource {
Configured,
Environment,
CgroupV2,
CgroupV1,
HostPhysicalMemory,
}Expand description
Identifies the memory limit source state.
Variants§
Configured
Represents the configured case.
Environment
Represents the environment case.
CgroupV2
Represents the cgroup v2 case.
CgroupV1
Represents the cgroup v1 case.
HostPhysicalMemory
Represents the host physical memory case.
Trait Implementations§
Source§impl Clone for MemoryLimitSource
impl Clone for MemoryLimitSource
impl Copy for MemoryLimitSource
Source§impl Debug for MemoryLimitSource
impl Debug for MemoryLimitSource
impl Eq for MemoryLimitSource
Source§impl PartialEq for MemoryLimitSource
impl PartialEq for MemoryLimitSource
impl StructuralPartialEq for MemoryLimitSource
Auto Trait Implementations§
impl Freeze for MemoryLimitSource
impl RefUnwindSafe for MemoryLimitSource
impl Send for MemoryLimitSource
impl Sync for MemoryLimitSource
impl Unpin for MemoryLimitSource
impl UnsafeUnpin for MemoryLimitSource
impl UnwindSafe for MemoryLimitSource
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