Struct cgroups_rs::PidResources
source · Expand description
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§
source§impl Clone for PidResources
impl Clone for PidResources
source§fn clone(&self) -> PidResources
fn clone(&self) -> PidResources
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PidResources
impl Debug for PidResources
source§impl Default for PidResources
impl Default for PidResources
source§fn default() -> PidResources
fn default() -> PidResources
Returns the “default value” for a type. Read more
source§impl PartialEq<PidResources> for PidResources
impl PartialEq<PidResources> for PidResources
source§fn eq(&self, other: &PidResources) -> bool
fn eq(&self, other: &PidResources) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.