pub enum BlockdevQcow2EncryptionFormat {
aes,
luks,
}
Variants§
Trait Implementations§
Source§impl Clone for BlockdevQcow2EncryptionFormat
impl Clone for BlockdevQcow2EncryptionFormat
Source§fn clone(&self) -> BlockdevQcow2EncryptionFormat
fn clone(&self) -> BlockdevQcow2EncryptionFormat
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<'de> Deserialize<'de> for BlockdevQcow2EncryptionFormat
impl<'de> Deserialize<'de> for BlockdevQcow2EncryptionFormat
Source§fn 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
Source§impl Enum for BlockdevQcow2EncryptionFormat
impl Enum for BlockdevQcow2EncryptionFormat
Source§impl Hash for BlockdevQcow2EncryptionFormat
impl Hash for BlockdevQcow2EncryptionFormat
Source§impl Ord for BlockdevQcow2EncryptionFormat
impl Ord for BlockdevQcow2EncryptionFormat
Source§fn cmp(&self, other: &BlockdevQcow2EncryptionFormat) -> Ordering
fn cmp(&self, other: &BlockdevQcow2EncryptionFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BlockdevQcow2EncryptionFormat
impl PartialEq for BlockdevQcow2EncryptionFormat
Source§fn eq(&self, other: &BlockdevQcow2EncryptionFormat) -> bool
fn eq(&self, other: &BlockdevQcow2EncryptionFormat) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for BlockdevQcow2EncryptionFormat
impl PartialOrd for BlockdevQcow2EncryptionFormat
impl Copy for BlockdevQcow2EncryptionFormat
impl Eq for BlockdevQcow2EncryptionFormat
impl StructuralPartialEq for BlockdevQcow2EncryptionFormat
Auto Trait Implementations§
impl Freeze for BlockdevQcow2EncryptionFormat
impl RefUnwindSafe for BlockdevQcow2EncryptionFormat
impl Send for BlockdevQcow2EncryptionFormat
impl Sync for BlockdevQcow2EncryptionFormat
impl Unpin for BlockdevQcow2EncryptionFormat
impl UnwindSafe for BlockdevQcow2EncryptionFormat
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