Struct cgroups::hierarchies::V1
source · pub struct V1 { /* private fields */ }
Expand description
The standard, original cgroup implementation. Often referred to as “cgroupv1”.
Implementations
Trait Implementations
sourceimpl Hierarchy for V1
impl Hierarchy for V1
sourcefn subsystems(&self) -> Vec<Subsystem>
fn subsystems(&self) -> Vec<Subsystem>
Returns what subsystems are supported by the hierarchy.
sourcefn root_control_group(&self) -> Cgroup<'_>
fn root_control_group(&self) -> Cgroup<'_>
Return a handle to the root control group in the hierarchy.
Auto Trait Implementations
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