Struct cgroups_rs::PidResources[][src]

pub struct PidResources {
    pub maximum_number_of_processes: Option<MaxValue>,
}

Resources limits on the number of processes.

Fields

maximum_number_of_processes: Option<MaxValue>

The maximum number of processes that can exist in the control group.

Note that attaching processes to the control group will still succeed even if the limit would be violated, however forks/clones inside the control group will have with EAGAIN if they would violate the limit set here.

Trait Implementations

impl Clone for PidResources[src]

impl Debug for PidResources[src]

impl Default for PidResources[src]

impl Eq for PidResources[src]

impl PartialEq<PidResources> for PidResources[src]

impl StructuralEq for PidResources[src]

impl StructuralPartialEq for PidResources[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, 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.