Enum qapi_qmp::RbdEncryptionOptions
source · pub enum RbdEncryptionOptions {
luks {
parent: Option<Box<RbdEncryptionOptions>>,
luks: RbdEncryptionOptionsLUKS,
},
luks_any {
parent: Option<Box<RbdEncryptionOptions>>,
luks_any: RbdEncryptionOptionsLUKSAny,
},
luks2 {
parent: Option<Box<RbdEncryptionOptions>>,
luks2: RbdEncryptionOptionsLUKS2,
},
}
Variants§
Implementations§
source§impl RbdEncryptionOptions
impl RbdEncryptionOptions
pub fn format(&self) -> RbdImageEncryptionFormat
Trait Implementations§
source§impl Clone for RbdEncryptionOptions
impl Clone for RbdEncryptionOptions
source§fn clone(&self) -> RbdEncryptionOptions
fn clone(&self) -> RbdEncryptionOptions
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 RbdEncryptionOptions
impl Debug for RbdEncryptionOptions
source§impl<'de> Deserialize<'de> for RbdEncryptionOptions
impl<'de> Deserialize<'de> for RbdEncryptionOptions
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<(RbdEncryptionOptionsLUKS, RbdEncryptionOptions)> for RbdEncryptionOptions
impl From<(RbdEncryptionOptionsLUKS, RbdEncryptionOptions)> for RbdEncryptionOptions
source§fn from(val: (RbdEncryptionOptionsLUKS, RbdEncryptionOptions)) -> Self
fn from(val: (RbdEncryptionOptionsLUKS, RbdEncryptionOptions)) -> Self
Converts to this type from the input type.
source§impl From<(RbdEncryptionOptionsLUKS2, RbdEncryptionOptions)> for RbdEncryptionOptions
impl From<(RbdEncryptionOptionsLUKS2, RbdEncryptionOptions)> for RbdEncryptionOptions
source§fn from(val: (RbdEncryptionOptionsLUKS2, RbdEncryptionOptions)) -> Self
fn from(val: (RbdEncryptionOptionsLUKS2, RbdEncryptionOptions)) -> Self
Converts to this type from the input type.
source§impl From<(RbdEncryptionOptionsLUKSAny, RbdEncryptionOptions)> for RbdEncryptionOptions
impl From<(RbdEncryptionOptionsLUKSAny, RbdEncryptionOptions)> for RbdEncryptionOptions
source§fn from(val: (RbdEncryptionOptionsLUKSAny, RbdEncryptionOptions)) -> Self
fn from(val: (RbdEncryptionOptionsLUKSAny, RbdEncryptionOptions)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for RbdEncryptionOptions
impl Send for RbdEncryptionOptions
impl Sync for RbdEncryptionOptions
impl Unpin for RbdEncryptionOptions
impl UnwindSafe for RbdEncryptionOptions
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