Enum qapi_qmp::QCryptoBlockInfo
source · pub enum QCryptoBlockInfo {
luks(QCryptoBlockInfoLUKS),
qcow,
}
Variants§
luks(QCryptoBlockInfoLUKS)
qcow
Implementations§
source§impl QCryptoBlockInfo
impl QCryptoBlockInfo
pub fn format(&self) -> QCryptoBlockFormat
Trait Implementations§
source§impl Clone for QCryptoBlockInfo
impl Clone for QCryptoBlockInfo
source§fn clone(&self) -> QCryptoBlockInfo
fn clone(&self) -> QCryptoBlockInfo
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 QCryptoBlockInfo
impl Debug for QCryptoBlockInfo
source§impl<'de> Deserialize<'de> for QCryptoBlockInfo
impl<'de> Deserialize<'de> for QCryptoBlockInfo
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 QCryptoBlockInfo
impl From<QCryptoBlockInfoLUKS> for QCryptoBlockInfo
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 QCryptoBlockInfo
impl Send for QCryptoBlockInfo
impl Sync for QCryptoBlockInfo
impl Unpin for QCryptoBlockInfo
impl UnwindSafe for QCryptoBlockInfo
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