Struct cgroups::freezer::FreezerController
source · pub struct FreezerController { /* private fields */ }
Expand description
A controller that allows controlling the freezer
subsystem of a Cgroup.
In essence, this subsystem allows the user to freeze and thaw (== “un-freeze”) the processes in the control group. This is done transparently so that neither the parent, nor the children of the processes can observe the freeze.
Note that if the control group is currently in the Frozen
or Freezing
state, then no
processes can be added to it.
Implementations
sourceimpl FreezerController
impl FreezerController
Trait Implementations
sourceimpl Clone for FreezerController
impl Clone for FreezerController
sourcefn clone(&self) -> FreezerController
fn clone(&self) -> FreezerController
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FreezerController
impl Debug for FreezerController
sourceimpl<'a> From<&'a Subsystem> for &'a FreezerController
impl<'a> From<&'a Subsystem> for &'a FreezerController
sourcefn from(sub: &'a Subsystem) -> &'a FreezerController
fn from(sub: &'a Subsystem) -> &'a FreezerController
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for FreezerController
impl Send for FreezerController
impl Sync for FreezerController
impl Unpin for FreezerController
impl UnwindSafe for FreezerController
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more