Enum qapi_qmp::BlockdevCreateOptions
source · pub enum BlockdevCreateOptions {
Show 14 variants
file(BlockdevCreateOptionsFile),
gluster(BlockdevCreateOptionsGluster),
luks(BlockdevCreateOptionsLUKS),
nfs(BlockdevCreateOptionsNfs),
parallels(BlockdevCreateOptionsParallels),
qcow(BlockdevCreateOptionsQcow),
qcow2(BlockdevCreateOptionsQcow2),
qed(BlockdevCreateOptionsQed),
rbd(BlockdevCreateOptionsRbd),
ssh(BlockdevCreateOptionsSsh),
vdi(BlockdevCreateOptionsVdi),
vhdx(BlockdevCreateOptionsVhdx),
vmdk(BlockdevCreateOptionsVmdk),
vpc(BlockdevCreateOptionsVpc),
}
Variants§
file(BlockdevCreateOptionsFile)
gluster(BlockdevCreateOptionsGluster)
luks(BlockdevCreateOptionsLUKS)
nfs(BlockdevCreateOptionsNfs)
parallels(BlockdevCreateOptionsParallels)
qcow(BlockdevCreateOptionsQcow)
qcow2(BlockdevCreateOptionsQcow2)
qed(BlockdevCreateOptionsQed)
rbd(BlockdevCreateOptionsRbd)
ssh(BlockdevCreateOptionsSsh)
vdi(BlockdevCreateOptionsVdi)
vhdx(BlockdevCreateOptionsVhdx)
vmdk(BlockdevCreateOptionsVmdk)
vpc(BlockdevCreateOptionsVpc)
Implementations§
source§impl BlockdevCreateOptions
impl BlockdevCreateOptions
pub fn driver(&self) -> BlockdevDriver
Trait Implementations§
source§impl Clone for BlockdevCreateOptions
impl Clone for BlockdevCreateOptions
source§fn clone(&self) -> BlockdevCreateOptions
fn clone(&self) -> BlockdevCreateOptions
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 BlockdevCreateOptions
impl Debug for BlockdevCreateOptions
source§impl<'de> Deserialize<'de> for BlockdevCreateOptions
impl<'de> Deserialize<'de> for BlockdevCreateOptions
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<BlockdevCreateOptionsFile> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsFile> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsFile) -> Self
fn from(val: BlockdevCreateOptionsFile) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsGluster> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsGluster> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsGluster) -> Self
fn from(val: BlockdevCreateOptionsGluster) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsLUKS> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsLUKS> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsLUKS) -> Self
fn from(val: BlockdevCreateOptionsLUKS) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsNfs> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsNfs> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsNfs) -> Self
fn from(val: BlockdevCreateOptionsNfs) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsParallels> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsParallels> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsParallels) -> Self
fn from(val: BlockdevCreateOptionsParallels) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsQcow> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsQcow> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsQcow) -> Self
fn from(val: BlockdevCreateOptionsQcow) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsQcow2> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsQcow2> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsQcow2) -> Self
fn from(val: BlockdevCreateOptionsQcow2) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsQed> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsQed> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsQed) -> Self
fn from(val: BlockdevCreateOptionsQed) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsRbd> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsRbd> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsRbd) -> Self
fn from(val: BlockdevCreateOptionsRbd) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsSsh> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsSsh> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsSsh) -> Self
fn from(val: BlockdevCreateOptionsSsh) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsVdi> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsVdi> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsVdi) -> Self
fn from(val: BlockdevCreateOptionsVdi) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsVhdx> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsVhdx> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsVhdx) -> Self
fn from(val: BlockdevCreateOptionsVhdx) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsVmdk> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsVmdk> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsVmdk) -> Self
fn from(val: BlockdevCreateOptionsVmdk) -> Self
Converts to this type from the input type.
source§impl From<BlockdevCreateOptionsVpc> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsVpc> for BlockdevCreateOptions
source§fn from(val: BlockdevCreateOptionsVpc) -> Self
fn from(val: BlockdevCreateOptionsVpc) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BlockdevCreateOptions
impl Send for BlockdevCreateOptions
impl Sync for BlockdevCreateOptions
impl Unpin for BlockdevCreateOptions
impl UnwindSafe for BlockdevCreateOptions
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