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