Enum cryptsetup_rs::Luks2ConfigFlag
source · [−]pub enum Luks2ConfigFlag {
AllowDiscards,
SameCpuCrypt,
SubmitFromCryptCpus,
NoJournal,
Unknown,
}
Variants
AllowDiscards
SameCpuCrypt
SubmitFromCryptCpus
NoJournal
Unknown
Trait Implementations
sourceimpl Clone for Luks2ConfigFlag
impl Clone for Luks2ConfigFlag
sourcefn clone(&self) -> Luks2ConfigFlag
fn clone(&self) -> Luks2ConfigFlag
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Luks2ConfigFlag
impl Debug for Luks2ConfigFlag
sourceimpl<'de> Deserialize<'de> for Luks2ConfigFlag
impl<'de> Deserialize<'de> for Luks2ConfigFlag
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Luks2ConfigFlag> for Luks2ConfigFlag
impl PartialEq<Luks2ConfigFlag> for Luks2ConfigFlag
sourcefn eq(&self, other: &Luks2ConfigFlag) -> bool
fn eq(&self, other: &Luks2ConfigFlag) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for Luks2ConfigFlag
impl Serialize for Luks2ConfigFlag
impl StructuralPartialEq for Luks2ConfigFlag
Auto Trait Implementations
impl RefUnwindSafe for Luks2ConfigFlag
impl Send for Luks2ConfigFlag
impl Sync for Luks2ConfigFlag
impl Unpin for Luks2ConfigFlag
impl UnwindSafe for Luks2ConfigFlag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more