pub struct PidResourceBuilder { /* private fields */ }Expand description
A builder that configures the pid controller of a control group.
Implementations§
Source§impl PidResourceBuilder
impl PidResourceBuilder
Sourcepub fn maximum_number_of_processes(
self,
maximum_number_of_processes: MaxValue,
) -> Self
pub fn maximum_number_of_processes( self, maximum_number_of_processes: MaxValue, ) -> Self
See the similarly named function in the respective controller.
Sourcepub fn done(self) -> CgroupBuilder
pub fn done(self) -> CgroupBuilder
Finish the construction of the pid resources of a control group.
Auto Trait Implementations§
impl Freeze for PidResourceBuilder
impl RefUnwindSafe for PidResourceBuilder
impl Send for PidResourceBuilder
impl Sync for PidResourceBuilder
impl Unpin for PidResourceBuilder
impl UnwindSafe for PidResourceBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more