pub struct V1 { /* private fields */ }Expand description
The standard, original cgroup implementation. Often referred to as “cgroupv1”.
Implementations§
Trait Implementations§
Source§impl Hierarchy for V1
impl Hierarchy for V1
fn v2(&self) -> bool
Source§fn subsystems(&self) -> Vec<Subsystem>
fn subsystems(&self) -> Vec<Subsystem>
Returns what subsystems are supported by the hierarchy.
Source§fn root_control_group(&self) -> Cgroup
fn root_control_group(&self) -> Cgroup
Return a handle to the root control group in the hierarchy.
Source§fn parent_control_group(&self, path: &str) -> Cgroup
fn parent_control_group(&self, path: &str) -> Cgroup
Return a handle to the parent control group in the hierarchy.
Auto Trait Implementations§
impl Freeze for V1
impl RefUnwindSafe for V1
impl Send for V1
impl Sync for V1
impl Unpin for V1
impl UnwindSafe for V1
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