Enum luks2::LuksKeyslot [−][src]
pub enum LuksKeyslot {
luks2 {
key_size: u16,
area: LuksArea,
kdf: LuksKdf,
af: LuksAf,
priority: Option<LuksPriority>,
},
}
Expand description
A keyslot contains information about stored keys – areas, where binary keyslot data are located, encryption and anti-forensic function used, password-based key derivation function (PBKDF) and related parameters.
Only the luks2
type is currently used.
Variants
Fields of luks2
Implementations
Returns the priority of the keyslot.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.