pub enum Overcommit {
MemLock(OnOffOnfault),
CpuPm(OnOff),
}Variants§
MemLock(OnOffOnfault)
CpuPm(OnOff)
Trait Implementations§
Source§impl Clone for Overcommit
impl Clone for Overcommit
Source§fn clone(&self) -> Overcommit
fn clone(&self) -> Overcommit
Returns a duplicate 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 Overcommit
impl Debug for Overcommit
Source§impl Hash for Overcommit
impl Hash for Overcommit
Source§impl Ord for Overcommit
impl Ord for Overcommit
Source§fn cmp(&self, other: &Overcommit) -> Ordering
fn cmp(&self, other: &Overcommit) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Overcommit
impl PartialEq for Overcommit
Source§impl PartialOrd for Overcommit
impl PartialOrd for Overcommit
Source§impl ToCommand for Overcommit
impl ToCommand for Overcommit
fn to_command(&self) -> Vec<String>
fn to_single_command(&self) -> String
impl Eq for Overcommit
impl StructuralPartialEq for Overcommit
Auto Trait Implementations§
impl Freeze for Overcommit
impl RefUnwindSafe for Overcommit
impl Send for Overcommit
impl Sync for Overcommit
impl Unpin for Overcommit
impl UnwindSafe for Overcommit
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