Struct cgroups::PidResources[][src]

pub struct PidResources {
    pub update_values: bool,
    pub maximum_number_of_processes: PidMax,
}

Resources limits on the number of processes.

Fields

Whether values should be applied to the controller.

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 Debug for PidResources
[src]

Formats the value using the given formatter. Read more

impl Clone for PidResources
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for PidResources
[src]

impl PartialEq for PidResources
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for PidResources
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations