#[non_exhaustive]pub enum SmfEnableDisableFlags {
Temporary,
AtNextBoot,
}Expand description
Optional flags for enabling or disabling SMF instances.
These flags are mutually exclusive.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SmfEnableDisableFlags
impl Clone for SmfEnableDisableFlags
Source§fn clone(&self) -> SmfEnableDisableFlags
fn clone(&self) -> SmfEnableDisableFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SmfEnableDisableFlags
impl Debug for SmfEnableDisableFlags
Source§impl Ord for SmfEnableDisableFlags
impl Ord for SmfEnableDisableFlags
Source§fn cmp(&self, other: &SmfEnableDisableFlags) -> Ordering
fn cmp(&self, other: &SmfEnableDisableFlags) -> Ordering
1.21.0 (const: unstable) · 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 SmfEnableDisableFlags
impl PartialEq for SmfEnableDisableFlags
Source§fn eq(&self, other: &SmfEnableDisableFlags) -> bool
fn eq(&self, other: &SmfEnableDisableFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SmfEnableDisableFlags
impl PartialOrd for SmfEnableDisableFlags
impl Copy for SmfEnableDisableFlags
impl Eq for SmfEnableDisableFlags
impl StructuralPartialEq for SmfEnableDisableFlags
Auto Trait Implementations§
impl Freeze for SmfEnableDisableFlags
impl RefUnwindSafe for SmfEnableDisableFlags
impl Send for SmfEnableDisableFlags
impl Sync for SmfEnableDisableFlags
impl Unpin for SmfEnableDisableFlags
impl UnsafeUnpin for SmfEnableDisableFlags
impl UnwindSafe for SmfEnableDisableFlags
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