Enum qapi_qmp::BlockdevCreateOptions
source · [−]pub enum BlockdevCreateOptions {
Show 14 variants
ssh(BlockdevCreateOptionsSsh),
gluster(BlockdevCreateOptionsGluster),
luks(BlockdevCreateOptionsLUKS),
qcow2(BlockdevCreateOptionsQcow2),
vhdx(BlockdevCreateOptionsVhdx),
file(BlockdevCreateOptionsFile),
qcow(BlockdevCreateOptionsQcow),
nfs(BlockdevCreateOptionsNfs),
vdi(BlockdevCreateOptionsVdi),
rbd(BlockdevCreateOptionsRbd),
parallels(BlockdevCreateOptionsParallels),
qed(BlockdevCreateOptionsQed),
vmdk(BlockdevCreateOptionsVmdk),
vpc(BlockdevCreateOptionsVpc),
}Variants
ssh(BlockdevCreateOptionsSsh)
gluster(BlockdevCreateOptionsGluster)
luks(BlockdevCreateOptionsLUKS)
qcow2(BlockdevCreateOptionsQcow2)
vhdx(BlockdevCreateOptionsVhdx)
file(BlockdevCreateOptionsFile)
qcow(BlockdevCreateOptionsQcow)
nfs(BlockdevCreateOptionsNfs)
vdi(BlockdevCreateOptionsVdi)
rbd(BlockdevCreateOptionsRbd)
parallels(BlockdevCreateOptionsParallels)
qed(BlockdevCreateOptionsQed)
vmdk(BlockdevCreateOptionsVmdk)
vpc(BlockdevCreateOptionsVpc)
Implementations
sourceimpl BlockdevCreateOptions
impl BlockdevCreateOptions
pub fn driver(&self) -> BlockdevDriver
Trait Implementations
sourceimpl Clone for BlockdevCreateOptions
impl Clone for BlockdevCreateOptions
sourcefn clone(&self) -> BlockdevCreateOptions
fn clone(&self) -> BlockdevCreateOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BlockdevCreateOptions
impl Debug for BlockdevCreateOptions
sourceimpl<'de> Deserialize<'de> for BlockdevCreateOptions
impl<'de> Deserialize<'de> for BlockdevCreateOptions
sourcefn 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
sourceimpl From<BlockdevCreateOptionsFile> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsFile> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsFile) -> Self
fn from(val: BlockdevCreateOptionsFile) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsGluster> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsGluster> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsGluster) -> Self
fn from(val: BlockdevCreateOptionsGluster) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsLUKS> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsLUKS> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsLUKS) -> Self
fn from(val: BlockdevCreateOptionsLUKS) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsNfs> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsNfs> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsNfs) -> Self
fn from(val: BlockdevCreateOptionsNfs) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsParallels> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsParallels> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsParallels) -> Self
fn from(val: BlockdevCreateOptionsParallels) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsQcow> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsQcow> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsQcow) -> Self
fn from(val: BlockdevCreateOptionsQcow) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsQcow2> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsQcow2> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsQcow2) -> Self
fn from(val: BlockdevCreateOptionsQcow2) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsQed> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsQed> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsQed) -> Self
fn from(val: BlockdevCreateOptionsQed) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsRbd> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsRbd> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsRbd) -> Self
fn from(val: BlockdevCreateOptionsRbd) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsSsh> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsSsh> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsSsh) -> Self
fn from(val: BlockdevCreateOptionsSsh) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsVdi> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsVdi> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsVdi) -> Self
fn from(val: BlockdevCreateOptionsVdi) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsVhdx> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsVhdx> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsVhdx) -> Self
fn from(val: BlockdevCreateOptionsVhdx) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsVmdk> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsVmdk> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsVmdk) -> Self
fn from(val: BlockdevCreateOptionsVmdk) -> Self
Converts to this type from the input type.
sourceimpl From<BlockdevCreateOptionsVpc> for BlockdevCreateOptions
impl From<BlockdevCreateOptionsVpc> for BlockdevCreateOptions
sourcefn from(val: BlockdevCreateOptionsVpc) -> Self
fn from(val: BlockdevCreateOptionsVpc) -> Self
Converts to this type from the input type.
sourceimpl Serialize for BlockdevCreateOptions
impl Serialize for BlockdevCreateOptions
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more