Struct cgroups_rs::hierarchies::V1[][src]

pub struct V1 { /* fields omitted */ }

The standard, original cgroup implementation. Often referred to as “cgroupv1”.

Implementations

impl V1[src]

pub fn new() -> V1[src]

Finds where control groups are mounted to and returns a hierarchy in which control groups can be created.

pub fn get_mount_point(&self, controller: Controllers) -> Option<PathBuf>[src]

Trait Implementations

impl Debug for V1[src]

impl Default for V1[src]

impl Hierarchy for V1[src]

Auto Trait Implementations

impl RefUnwindSafe for V1

impl Send for V1

impl Sync for V1

impl Unpin for V1

impl UnwindSafe for V1

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.