Enum Subsystem

Source
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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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,

Source§

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>,

Source§

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>,

Source§

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.