Enum cgroups_rs::Subsystem[][src]

pub enum Subsystem {
    Pid(PidController),
    Mem(MemController),
    CpuSet(CpuSetController),
    CpuAcct(CpuAcctController),
    Cpu(CpuController),
    Devices(DevicesController),
    Freezer(FreezerController),
    NetCls(NetClsController),
    BlkIo(BlkIoController),
    PerfEvent(PerfEventController),
    NetPrio(NetPrioController),
    HugeTlb(HugeTlbController),
    Rdma(RdmaController),
    Systemd(SystemdController),
}

Contains all the subsystems that are available in this crate.

Variants

Controller for the Pid subsystem, see PidController for more information.

Controller for the Mem subsystem, see MemController for more information.

Controller for the CpuSet subsystem, see CpuSetController` for more information.

Controller for the CpuAcct subsystem, see CpuAcctController for more information.

Controller for the Cpu subsystem, see CpuController for more information.

Controller for the Devices subsystem, see DevicesController for more information.

Controller for the Freezer subsystem, see FreezerController for more information.

Controller for the NetCls subsystem, see NetClsController for more information.

Controller for the BlkIo subsystem, see BlkIoController for more information.

Controller for the PerfEvent subsystem, see PerfEventController for more information.

Controller for the NetPrio subsystem, see NetPrioController for more information.

Controller for the HugeTlb subsystem, see HugeTlbController for more information.

Controller for the Rdma subsystem, see RdmaController for more information.

Controller for the Systemd subsystem, see SystemdController for more information.

Implementations

impl Subsystem[src]

pub fn to_controller(&self) -> &dyn Controller[src]

pub fn controller_name(&self) -> String[src]

Trait Implementations

impl Clone for Subsystem[src]

impl Debug for Subsystem[src]

impl<'a> From<&'a Subsystem> for &'a BlkIoController[src]

impl<'a> From<&'a Subsystem> for &'a CpuController[src]

impl<'a> From<&'a Subsystem> for &'a PerfEventController[src]

impl<'a> From<&'a Subsystem> for &'a PidController[src]

impl<'a> From<&'a Subsystem> for &'a RdmaController[src]

impl<'a> From<&'a Subsystem> for &'a SystemdController[src]

impl<'a> From<&'a Subsystem> for &'a CpuAcctController[src]

impl<'a> From<&'a Subsystem> for &'a CpuSetController[src]

impl<'a> From<&'a Subsystem> for &'a DevicesController[src]

impl<'a> From<&'a Subsystem> for &'a FreezerController[src]

impl<'a> From<&'a Subsystem> for &'a HugeTlbController[src]

impl<'a> From<&'a Subsystem> for &'a MemController[src]

impl<'a> From<&'a Subsystem> for &'a NetClsController[src]

impl<'a> From<&'a Subsystem> for &'a NetPrioController[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.