Struct cgroups_rs::PidResources [−][src]
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]
fn clone(&self) -> PidResources
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PidResources
[src]
impl Default for PidResources
[src]
fn default() -> PidResources
[src]
impl Eq for PidResources
[src]
impl PartialEq<PidResources> for PidResources
[src]
fn eq(&self, other: &PidResources) -> bool
[src]
fn ne(&self, other: &PidResources) -> bool
[src]
impl StructuralEq for PidResources
[src]
impl StructuralPartialEq for PidResources
[src]
Auto Trait Implementations
impl RefUnwindSafe for PidResources
impl Send for PidResources
impl Sync for PidResources
impl Unpin for PidResources
impl UnwindSafe for PidResources
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,