pub enum LuksArea {
raw {
encryption: String,
key_size: u32,
offset: u64,
size: u64,
},
}
Expand description
Information on the allocated area in the binary keyslots area of a LuksKeyslot
.
Only the raw
type is currently used.
Fields of raw
The area encryption algorithm, in dm-crypt notation (e. g. “aes-xts-plain64”).
The area encryption key size.
The offset from the device start to the beginning of the binary area in bytes.
Returns the encryption algorithm of the area.
Returns the key size of the area.
Returns the offset of the area.
Returns the size of the area.
Formats the value using the given formatter. Read more
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 !=
.
Serialize this value into the given Serde serializer. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.