Enum cgroups_rs::MaxValue[][src]

pub enum MaxValue {
    Max,
    Value(i64),
}

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

impl Clone for MaxValue[src]

impl Copy for MaxValue[src]

impl Debug for MaxValue[src]

impl Default for MaxValue[src]

impl Display for MaxValue[src]

impl Eq for MaxValue[src]

impl PartialEq<MaxValue> for MaxValue[src]

impl StructuralEq for MaxValue[src]

impl StructuralPartialEq for MaxValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.