pub enum DataSanitizationType {
BlockErase,
CryptographicErase,
Overwrite,
UnsupportedValue,
}Variants§
BlockErase
Delete all logical block addresses, including those that are not currently mapping to active addresses, but leaving the data on the drive.
This value shall indicate sanitization is performed by deleting all logical block addresses, including those that are not currently mapping to active addresses, but leaving the data on the drive.
CryptographicErase
Erase the target data’s encryption key leaving only the ciphertext on the drive. For more information, see NIST800-88 and ISO/IEC 27040.
This value shall indicate sanitization is performed by erasing the target data’s encryption key leaving only the ciphertext on the drive. For more information, see NIST800-88 and ISO/IEC 27040.
Overwrite
Overwrite data by writing an implementation-specific pattern onto all sectors of the drive.
This value shall indicate sanitization is performed by overwriting data by writing an implementation-specific pattern onto all sectors of the drive.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for DataSanitizationType
impl Clone for DataSanitizationType
Source§fn clone(&self) -> DataSanitizationType
fn clone(&self) -> DataSanitizationType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DataSanitizationType
impl Debug for DataSanitizationType
Source§impl<'de> Deserialize<'de> for DataSanitizationType
impl<'de> Deserialize<'de> for DataSanitizationType
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>,
Source§impl PartialEq for DataSanitizationType
impl PartialEq for DataSanitizationType
Source§fn eq(&self, other: &DataSanitizationType) -> bool
fn eq(&self, other: &DataSanitizationType) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for DataSanitizationType
impl Serialize for DataSanitizationType
Source§impl ToSnakeCase for DataSanitizationType
impl ToSnakeCase for DataSanitizationType
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
snake_case string