pub enum EncryptionMode {
Disabled,
UseExternalKey,
UseLocalKey,
PasswordOnly,
PasswordWithExternalKey,
PasswordWithLocalKey,
UnsupportedValue,
}Variants§
Disabled
Encryption is disabled on the storage subsystem.
UseExternalKey
The storage subsystem uses one or more external keys for encryption.
UseLocalKey
The storage subsystem uses a local key for encryption.
PasswordOnly
The storage subsystem uses a password, but no keys for encryption.
PasswordWithExternalKey
The storage subsystem uses a password and one or more external keys for encryption.
PasswordWithLocalKey
The storage subsystem uses a password and a local key for encryption.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for EncryptionMode
impl Clone for EncryptionMode
Source§fn clone(&self) -> EncryptionMode
fn clone(&self) -> EncryptionMode
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 EncryptionMode
impl Debug for EncryptionMode
Source§impl<'de> Deserialize<'de> for EncryptionMode
impl<'de> Deserialize<'de> for EncryptionMode
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 EncryptionMode
impl PartialEq for EncryptionMode
Source§impl Serialize for EncryptionMode
impl Serialize for EncryptionMode
Source§impl ToSnakeCase for EncryptionMode
impl ToSnakeCase for EncryptionMode
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 EncryptionMode
impl Eq for EncryptionMode
impl StructuralPartialEq for EncryptionMode
Auto Trait Implementations§
impl Freeze for EncryptionMode
impl RefUnwindSafe for EncryptionMode
impl Send for EncryptionMode
impl Sync for EncryptionMode
impl Unpin for EncryptionMode
impl UnsafeUnpin for EncryptionMode
impl UnwindSafe for EncryptionMode
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