Struct cgroups::PidResources [−][src]
Resources limits on the number of processes.
Fields
update_values: bool
Whether values should be applied to the controller.
maximum_number_of_processes: PidMax
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]
impl Debug for PidResourcesfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for PidResources[src]
impl Clone for PidResourcesfn clone(&self) -> PidResources[src]
fn clone(&self) -> PidResourcesReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Eq for PidResources[src]
impl Eq for PidResourcesimpl PartialEq for PidResources[src]
impl PartialEq for PidResourcesfn eq(&self, other: &PidResources) -> bool[src]
fn eq(&self, other: &PidResources) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &PidResources) -> bool[src]
fn ne(&self, other: &PidResources) -> boolThis method tests for !=.
impl Default for PidResources[src]
impl Default for PidResourcesfn default() -> PidResources[src]
fn default() -> PidResourcesReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for PidResources
impl Send for PidResourcesimpl Sync for PidResources
impl Sync for PidResources