pub enum SecurityStates {
Enabled,
Disabled,
Unlocked,
Locked,
Frozen,
Passphraselimit,
UnsupportedValue,
}Variants§
Enabled
Secure mode is enabled and access to the data is allowed.
Disabled
Secure mode is disabled.
Unlocked
Secure mode is enabled and access to the data is unlocked.
Locked
Secure mode is enabled and access to the data is locked.
Frozen
Secure state is frozen and cannot be modified until reset.
Passphraselimit
Number of attempts to unlock the memory exceeded limit.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for SecurityStates
impl Clone for SecurityStates
Source§fn clone(&self) -> SecurityStates
fn clone(&self) -> SecurityStates
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 SecurityStates
impl Debug for SecurityStates
Source§impl<'de> Deserialize<'de> for SecurityStates
impl<'de> Deserialize<'de> for SecurityStates
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 PartialEq for SecurityStates
impl PartialEq for SecurityStates
Source§impl Serialize for SecurityStates
impl Serialize for SecurityStates
Source§impl ToSnakeCase for SecurityStates
impl ToSnakeCase for SecurityStates
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringimpl Copy for SecurityStates
impl Eq for SecurityStates
impl StructuralPartialEq for SecurityStates
Auto Trait Implementations§
impl Freeze for SecurityStates
impl RefUnwindSafe for SecurityStates
impl Send for SecurityStates
impl Sync for SecurityStates
impl Unpin for SecurityStates
impl UnsafeUnpin for SecurityStates
impl UnwindSafe for SecurityStates
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