#[repr(u32)]pub enum crypt_luks2_header_requirement_flag {
CRYPT_REQUIREMENT_OFFLINE_REENCRYPT = 1,
CRYPT_REQUIREMENT_ONLINE_REENCRYPT = 2,
CRYPT_REQUIREMENT_UNKNOWN = 2_147_483_648,
}Variants§
CRYPT_REQUIREMENT_OFFLINE_REENCRYPT = 1
CRYPT_REQUIREMENT_ONLINE_REENCRYPT = 2
CRYPT_REQUIREMENT_UNKNOWN = 2_147_483_648
Trait Implementations§
Source§impl Clone for crypt_luks2_header_requirement_flag
impl Clone for crypt_luks2_header_requirement_flag
Source§fn clone(&self) -> crypt_luks2_header_requirement_flag
fn clone(&self) -> crypt_luks2_header_requirement_flag
Returns a duplicate 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 PartialEq for crypt_luks2_header_requirement_flag
impl PartialEq for crypt_luks2_header_requirement_flag
Source§fn eq(&self, other: &crypt_luks2_header_requirement_flag) -> bool
fn eq(&self, other: &crypt_luks2_header_requirement_flag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for crypt_luks2_header_requirement_flag
impl Eq for crypt_luks2_header_requirement_flag
impl StructuralPartialEq for crypt_luks2_header_requirement_flag
Auto Trait Implementations§
impl Freeze for crypt_luks2_header_requirement_flag
impl RefUnwindSafe for crypt_luks2_header_requirement_flag
impl Send for crypt_luks2_header_requirement_flag
impl Sync for crypt_luks2_header_requirement_flag
impl Unpin for crypt_luks2_header_requirement_flag
impl UnwindSafe for crypt_luks2_header_requirement_flag
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