#[repr(u16)]pub enum CgroupManager {
Systemd = 0,
Cgroupfs = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for CgroupManager
impl Clone for CgroupManager
Source§fn clone(&self) -> CgroupManager
fn clone(&self) -> CgroupManager
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CgroupManager
impl Debug for CgroupManager
Source§impl<'a> From<CgroupManager> for Reader<'a>
impl<'a> From<CgroupManager> for Reader<'a>
Source§fn from(e: CgroupManager) -> Self
fn from(e: CgroupManager) -> Self
Converts to this type from the input type.
Source§impl From<CgroupManager> for u16
impl From<CgroupManager> for u16
Source§fn from(x: CgroupManager) -> u16
fn from(x: CgroupManager) -> u16
Converts to this type from the input type.
Source§impl Introspect for CgroupManager
impl Introspect for CgroupManager
Source§fn introspect() -> Type
fn introspect() -> Type
Retrieves a description of the type.
Source§impl PartialEq for CgroupManager
impl PartialEq for CgroupManager
Source§impl TryFrom<u16> for CgroupManager
impl TryFrom<u16> for CgroupManager
impl Copy for CgroupManager
impl Eq for CgroupManager
impl StructuralPartialEq for CgroupManager
Auto Trait Implementations§
impl Freeze for CgroupManager
impl RefUnwindSafe for CgroupManager
impl Send for CgroupManager
impl Sync for CgroupManager
impl Unpin for CgroupManager
impl UnwindSafe for CgroupManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)