Enum cgroups_rs::MaxValue
source · pub enum MaxValue {
Max,
Value(i64),
}Expand description
The values for memory.hight or pids.max
Variants§
Max
This value is returned when the text is "max".
Value(i64)
When the value is a numerical value, they are returned via this enum field.
Trait Implementations§
source§impl PartialEq<MaxValue> for MaxValue
impl PartialEq<MaxValue> for MaxValue
impl Copy for MaxValue
impl Eq for MaxValue
impl StructuralEq for MaxValue
impl StructuralPartialEq for MaxValue
Auto Trait Implementations§
impl RefUnwindSafe for MaxValue
impl Send for MaxValue
impl Sync for MaxValue
impl Unpin for MaxValue
impl UnwindSafe for MaxValue
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