Enum libcryptsetup_rs::consts::vals::CryptWipePattern
source · pub enum CryptWipePattern {
Zero,
Random,
EncryptedZero,
Special,
}
Expand description
Pattern for disk wipe
Variants§
Trait Implementations§
source§impl Clone for CryptWipePattern
impl Clone for CryptWipePattern
source§fn clone(&self) -> CryptWipePattern
fn clone(&self) -> CryptWipePattern
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 CryptWipePattern
impl Debug for CryptWipePattern
source§impl Into<u32> for CryptWipePattern
impl Into<u32> for CryptWipePattern
source§impl PartialEq for CryptWipePattern
impl PartialEq for CryptWipePattern
source§fn eq(&self, other: &CryptWipePattern) -> bool
fn eq(&self, other: &CryptWipePattern) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for CryptWipePattern
impl TryFrom<u32> for CryptWipePattern
impl Copy for CryptWipePattern
impl Eq for CryptWipePattern
impl StructuralPartialEq for CryptWipePattern
Auto Trait Implementations§
impl Freeze for CryptWipePattern
impl RefUnwindSafe for CryptWipePattern
impl Send for CryptWipePattern
impl Sync for CryptWipePattern
impl Unpin for CryptWipePattern
impl UnwindSafe for CryptWipePattern
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