pub enum PidMax {
Max,
Value(i64),
}
Expand description
The values found in the pids.max
file in a Cgroup’s pids
subsystem.
Variants
Max
This value is returned when the text found pids.max
is "max"
.
Value(i64)
When the value in pids.max
is a numerical value, they are returned via this enum field.
Trait Implementations
impl Copy for PidMax
impl Eq for PidMax
impl StructuralEq for PidMax
impl StructuralPartialEq for PidMax
Auto Trait Implementations
impl RefUnwindSafe for PidMax
impl Send for PidMax
impl Sync for PidMax
impl Unpin for PidMax
impl UnwindSafe for PidMax
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more