Enum qapi_qmp::BlockdevAmendOptions
source · pub enum BlockdevAmendOptions {
luks(BlockdevAmendOptionsLUKS),
qcow2(BlockdevAmendOptionsQcow2),
}
Variants§
luks(BlockdevAmendOptionsLUKS)
qcow2(BlockdevAmendOptionsQcow2)
Implementations§
source§impl BlockdevAmendOptions
impl BlockdevAmendOptions
pub fn driver(&self) -> BlockdevDriver
Trait Implementations§
source§impl Clone for BlockdevAmendOptions
impl Clone for BlockdevAmendOptions
source§fn clone(&self) -> BlockdevAmendOptions
fn clone(&self) -> BlockdevAmendOptions
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 BlockdevAmendOptions
impl Debug for BlockdevAmendOptions
source§impl<'de> Deserialize<'de> for BlockdevAmendOptions
impl<'de> Deserialize<'de> for BlockdevAmendOptions
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<BlockdevAmendOptionsLUKS> for BlockdevAmendOptions
impl From<BlockdevAmendOptionsLUKS> for BlockdevAmendOptions
source§fn from(val: BlockdevAmendOptionsLUKS) -> Self
fn from(val: BlockdevAmendOptionsLUKS) -> Self
Converts to this type from the input type.
source§impl From<BlockdevAmendOptionsQcow2> for BlockdevAmendOptions
impl From<BlockdevAmendOptionsQcow2> for BlockdevAmendOptions
source§fn from(val: BlockdevAmendOptionsQcow2) -> Self
fn from(val: BlockdevAmendOptionsQcow2) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BlockdevAmendOptions
impl Send for BlockdevAmendOptions
impl Sync for BlockdevAmendOptions
impl Unpin for BlockdevAmendOptions
impl UnwindSafe for BlockdevAmendOptions
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