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 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<'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<BlockdevQcow2EncryptionFormat> for BlockdevQcow2EncryptionFormat
impl PartialEq<BlockdevQcow2EncryptionFormat> for BlockdevQcow2EncryptionFormat
source§fn eq(&self, other: &BlockdevQcow2EncryptionFormat) -> bool
fn eq(&self, other: &BlockdevQcow2EncryptionFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BlockdevQcow2EncryptionFormat> for BlockdevQcow2EncryptionFormat
impl PartialOrd<BlockdevQcow2EncryptionFormat> for BlockdevQcow2EncryptionFormat
source§fn partial_cmp(&self, other: &BlockdevQcow2EncryptionFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockdevQcow2EncryptionFormat) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BlockdevQcow2EncryptionFormat
impl Eq for BlockdevQcow2EncryptionFormat
impl StructuralEq for BlockdevQcow2EncryptionFormat
impl StructuralPartialEq for BlockdevQcow2EncryptionFormat
Auto Trait Implementations§
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