Struct cgroups::hierarchies::V1

source ·
pub struct V1 { /* private fields */ }
Expand description

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

Implementations

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

Trait Implementations

Returns what subsystems are supported by the hierarchy.
Return a handle to the root control group in the hierarchy.
Returns the root directory of the hierarchy.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.