pub enum ImageInfoSpecificQCow2Encryption {
luks(QCryptoBlockInfoLUKS),
aes,
}
Variants§
luks(QCryptoBlockInfoLUKS)
aes
Implementations§
source§impl ImageInfoSpecificQCow2Encryption
impl ImageInfoSpecificQCow2Encryption
pub fn format(&self) -> BlockdevQcow2EncryptionFormat
Trait Implementations§
source§impl Clone for ImageInfoSpecificQCow2Encryption
impl Clone for ImageInfoSpecificQCow2Encryption
source§fn clone(&self) -> ImageInfoSpecificQCow2Encryption
fn clone(&self) -> ImageInfoSpecificQCow2Encryption
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 ImageInfoSpecificQCow2Encryption
impl<'de> Deserialize<'de> for ImageInfoSpecificQCow2Encryption
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 From<QCryptoBlockInfoLUKS> for ImageInfoSpecificQCow2Encryption
impl From<QCryptoBlockInfoLUKS> for ImageInfoSpecificQCow2Encryption
source§fn from(val: QCryptoBlockInfoLUKS) -> Self
fn from(val: QCryptoBlockInfoLUKS) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ImageInfoSpecificQCow2Encryption
impl Send for ImageInfoSpecificQCow2Encryption
impl Sync for ImageInfoSpecificQCow2Encryption
impl Unpin for ImageInfoSpecificQCow2Encryption
impl UnwindSafe for ImageInfoSpecificQCow2Encryption
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