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>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
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 ==.source§impl TryFrom<u64> for MetadataSize
impl TryFrom<u64> for MetadataSize
impl Copy for MetadataSize
impl Eq for MetadataSize
impl StructuralEq for MetadataSize
impl StructuralPartialEq for MetadataSize
Auto Trait Implementations§
impl RefUnwindSafe for MetadataSize
impl Send for MetadataSize
impl Sync for MetadataSize
impl Unpin for MetadataSize
impl UnwindSafe for MetadataSize
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