pub struct V2 { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Hierarchy for V2
impl Hierarchy for V2
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 V2
impl RefUnwindSafe for V2
impl Send for V2
impl Sync for V2
impl Unpin for V2
impl UnwindSafe for V2
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