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