pub enum Subsystem {
Show 14 variants 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),
}
Expand description

Contains all the subsystems that are available in this crate.

Variants§

§

Pid(PidController)

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

§

Mem(MemController)

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

§

CpuSet(CpuSetController)

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

§

CpuAcct(CpuAcctController)

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

§

Cpu(CpuController)

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

§

Devices(DevicesController)

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

§

Freezer(FreezerController)

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

§

NetCls(NetClsController)

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

§

BlkIo(BlkIoController)

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

§

PerfEvent(PerfEventController)

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

§

NetPrio(NetPrioController)

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

§

HugeTlb(HugeTlbController)

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

§

Rdma(RdmaController)

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

§

Systemd(SystemdController)

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

Implementations§

Trait Implementations§

source§

impl Clone for Subsystem

source§

fn clone(&self) -> Subsystem

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Subsystem

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a Subsystem> for &'a BlkIoController

source§

fn from(sub: &'a Subsystem) -> &'a BlkIoController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a CpuAcctController

source§

fn from(sub: &'a Subsystem) -> &'a CpuAcctController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a CpuController

source§

fn from(sub: &'a Subsystem) -> &'a CpuController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a CpuSetController

source§

fn from(sub: &'a Subsystem) -> &'a CpuSetController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a DevicesController

source§

fn from(sub: &'a Subsystem) -> &'a DevicesController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a FreezerController

source§

fn from(sub: &'a Subsystem) -> &'a FreezerController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a HugeTlbController

source§

fn from(sub: &'a Subsystem) -> &'a HugeTlbController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a MemController

source§

fn from(sub: &'a Subsystem) -> &'a MemController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a NetClsController

source§

fn from(sub: &'a Subsystem) -> &'a NetClsController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a NetPrioController

source§

fn from(sub: &'a Subsystem) -> &'a NetPrioController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a PerfEventController

source§

fn from(sub: &'a Subsystem) -> &'a PerfEventController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a PidController

source§

fn from(sub: &'a Subsystem) -> &'a PidController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a RdmaController

source§

fn from(sub: &'a Subsystem) -> &'a RdmaController

Converts to this type from the input type.
source§

impl<'a> From<&'a Subsystem> for &'a SystemdController

source§

fn from(sub: &'a Subsystem) -> &'a SystemdController

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.