pub enum SecurityStates {
Enabled,
Disabled,
Unlocked,
Locked,
Frozen,
Passphraselimit,
}
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.
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§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SecurityStates
impl Debug for SecurityStates
Source§impl Default for SecurityStates
impl Default for SecurityStates
Source§fn default() -> SecurityStates
fn default() -> SecurityStates
Returns the “default value” for a type. Read more
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 Metadata<'static> for SecurityStates
impl Metadata<'static> for SecurityStates
Source§const JSON_SCHEMA: &'static str = "Memory.v1_17_1.json"
const JSON_SCHEMA: &'static str = "Memory.v1_17_1.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for SecurityStates
impl RefUnwindSafe for SecurityStates
impl Send for SecurityStates
impl Sync for SecurityStates
impl Unpin 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