Enum cgroups_rs::Subsystem [−][src]
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
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]
fn from(sub: &'a Subsystem) -> &'a BlkIoController
[src]
impl<'a> From<&'a Subsystem> for &'a CpuController
[src]
fn from(sub: &'a Subsystem) -> &'a CpuController
[src]
impl<'a> From<&'a Subsystem> for &'a PerfEventController
[src]
fn from(sub: &'a Subsystem) -> &'a PerfEventController
[src]
impl<'a> From<&'a Subsystem> for &'a PidController
[src]
fn from(sub: &'a Subsystem) -> &'a PidController
[src]
impl<'a> From<&'a Subsystem> for &'a RdmaController
[src]
fn from(sub: &'a Subsystem) -> &'a RdmaController
[src]
impl<'a> From<&'a Subsystem> for &'a SystemdController
[src]
fn from(sub: &'a Subsystem) -> &'a SystemdController
[src]
impl<'a> From<&'a Subsystem> for &'a CpuAcctController
[src]
fn from(sub: &'a Subsystem) -> &'a CpuAcctController
[src]
impl<'a> From<&'a Subsystem> for &'a CpuSetController
[src]
fn from(sub: &'a Subsystem) -> &'a CpuSetController
[src]
impl<'a> From<&'a Subsystem> for &'a DevicesController
[src]
fn from(sub: &'a Subsystem) -> &'a DevicesController
[src]
impl<'a> From<&'a Subsystem> for &'a FreezerController
[src]
fn from(sub: &'a Subsystem) -> &'a FreezerController
[src]
impl<'a> From<&'a Subsystem> for &'a HugeTlbController
[src]
fn from(sub: &'a Subsystem) -> &'a HugeTlbController
[src]
impl<'a> From<&'a Subsystem> for &'a MemController
[src]
fn from(sub: &'a Subsystem) -> &'a MemController
[src]
impl<'a> From<&'a Subsystem> for &'a NetClsController
[src]
fn from(sub: &'a Subsystem) -> &'a NetClsController
[src]
impl<'a> From<&'a Subsystem> for &'a NetPrioController
[src]
fn from(sub: &'a Subsystem) -> &'a NetPrioController
[src]
Auto Trait Implementations
impl RefUnwindSafe for Subsystem
impl Send for Subsystem
impl Sync for Subsystem
impl Unpin for Subsystem
impl UnwindSafe for Subsystem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,