#[non_exhaustive]pub enum FeatureStatus {
Active,
Inactive,
Unavailable,
NotApplicable,
Unknown,
}Expand description
Status of a platform security feature.
Serialized via its Display form so the transcript carries
a stable, comparable token rather than a sentence. Follows the
Display/serde alignment convention used by rite-sdk enums.
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.
Active
Present and active.
Inactive
Supported by the platform but currently off.
Not available on this hardware or platform.
NotApplicable
Not a meaningful concept on this platform.
Unknown
Could not be determined.
Trait Implementations§
Source§impl Clone for FeatureStatus
impl Clone for FeatureStatus
impl Copy for FeatureStatus
Source§impl Debug for FeatureStatus
impl Debug for FeatureStatus
Source§impl<'de> Deserialize<'de> for FeatureStatus
impl<'de> Deserialize<'de> for FeatureStatus
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 FeatureStatus
impl Display for FeatureStatus
impl Eq for FeatureStatus
Source§impl From<FeatureStatus> for String
impl From<FeatureStatus> for String
Source§fn from(s: FeatureStatus) -> String
fn from(s: FeatureStatus) -> String
Converts to this type from the input type.
Source§impl FromStr for FeatureStatus
impl FromStr for FeatureStatus
Source§impl PartialEq for FeatureStatus
impl PartialEq for FeatureStatus
Source§impl Serialize for FeatureStatus
impl Serialize for FeatureStatus
impl StructuralPartialEq for FeatureStatus
Auto Trait Implementations§
impl Freeze for FeatureStatus
impl RefUnwindSafe for FeatureStatus
impl Send for FeatureStatus
impl Sync for FeatureStatus
impl Unpin for FeatureStatus
impl UnsafeUnpin for FeatureStatus
impl UnwindSafe for FeatureStatus
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.