Enum libcryptsetup_rs::consts::vals::MetadataSize
source · pub enum MetadataSize {
Kb16,
Kb32,
Kb64,
Kb128,
Kb256,
Kb512,
Kb1024,
Kb2048,
Kb4096,
}Expand description
Size allocated for metadata
Variants§
Methods from Deref<Target = u64>§
Trait Implementations§
source§impl Clone for MetadataSize
impl Clone for MetadataSize
source§fn clone(&self) -> MetadataSize
fn clone(&self) -> MetadataSize
Returns a copy 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 MetadataSize
impl Debug for MetadataSize
source§impl Deref for MetadataSize
impl Deref for MetadataSize
source§impl PartialEq<MetadataSize> for MetadataSize
impl PartialEq<MetadataSize> for MetadataSize
source§fn eq(&self, other: &MetadataSize) -> bool
fn eq(&self, other: &MetadataSize) -> bool
This method tests for
self and other values to be equal, and is used
by ==.