Enum rd_agent_intf::sysreqs::SysReq
source · [−]pub enum SysReq {
Show 22 variants
Controllers,
Freezer,
MemCgRecursiveProt,
MemShadowInodeProt,
IoCost,
IoCostVer,
NoOtherIoControllers,
AnonBalance,
Btrfs,
BtrfsAsyncDiscard,
NoCompositeStorage,
IoSched,
NoWbt,
SwapOnScratch,
Swap,
Oomd,
NoSysOomd,
HostCriticalServices,
DepsBase,
DepsIoCostCoefGen,
DepsSide,
DepsLinuxBuild,
}
Variants
Controllers
Freezer
MemCgRecursiveProt
MemShadowInodeProt
IoCost
IoCostVer
NoOtherIoControllers
AnonBalance
Btrfs
BtrfsAsyncDiscard
NoCompositeStorage
IoSched
NoWbt
SwapOnScratch
Swap
Oomd
NoSysOomd
HostCriticalServices
DepsBase
DepsIoCostCoefGen
DepsSide
DepsLinuxBuild
Trait Implementations
sourceimpl<'de> Deserialize<'de> for SysReq
impl<'de> Deserialize<'de> for SysReq
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl IntoEnumIterator for SysReq
impl IntoEnumIterator for SysReq
type Iterator = SysReqEnumIterator
type Iterator = SysReqEnumIterator
Type of the iterator over the variants.
sourceconst VARIANT_COUNT: usize = 22usize
const VARIANT_COUNT: usize = 22usize
Number of variants.
sourcefn into_enum_iter() -> Self::Iterator
fn into_enum_iter() -> Self::Iterator
Returns an iterator over the variants. Read more
sourceimpl Ord for SysReq
impl Ord for SysReq
sourceimpl PartialOrd<SysReq> for SysReq
impl PartialOrd<SysReq> for SysReq
sourcefn partial_cmp(&self, other: &SysReq) -> Option<Ordering>
fn partial_cmp(&self, other: &SysReq) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for SysReq
impl Eq for SysReq
impl StructuralEq for SysReq
impl StructuralPartialEq for SysReq
Auto Trait Implementations
impl RefUnwindSafe for SysReq
impl Send for SysReq
impl Sync for SysReq
impl Unpin for SysReq
impl UnwindSafe for SysReq
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more