#[non_exhaustive]pub enum SystemState {
Unprovisioned,
Locked,
Operational,
}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 SystemState
impl Clone for SystemState
Source§fn clone(&self) -> SystemState
fn clone(&self) -> SystemState
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 SystemState
impl Debug for SystemState
Source§impl Default for SystemState
impl Default for SystemState
Source§fn default() -> SystemState
fn default() -> SystemState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemState
impl<'de> Deserialize<'de> for SystemState
Source§fn 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
Source§impl Display for SystemState
impl Display for SystemState
Source§impl Hash for SystemState
impl Hash for SystemState
Source§impl Ord for SystemState
impl Ord for SystemState
Source§fn cmp(&self, other: &SystemState) -> Ordering
fn cmp(&self, other: &SystemState) -> 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 SystemState
impl PartialEq for SystemState
Source§impl PartialOrd for SystemState
impl PartialOrd for SystemState
Source§impl Serialize for SystemState
impl Serialize for SystemState
impl Copy for SystemState
impl Eq for SystemState
impl StructuralPartialEq for SystemState
Auto Trait Implementations§
impl Freeze for SystemState
impl RefUnwindSafe for SystemState
impl Send for SystemState
impl Sync for SystemState
impl Unpin for SystemState
impl UnwindSafe for SystemState
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