pub enum BlockdevCreateOptions {
Show 47 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),
blkdebug,
blklogwrites,
blkreplay,
blkverify,
bochs,
cloop,
compress,
copy_before_write,
copy_on_read,
dmg,
snapshot_access,
ftp,
ftps,
host_cdrom,
host_device,
http,
https,
io_uring,
iscsi,
nbd,
null_aio,
null_co,
nvme,
nvme_io_uring,
preallocate,
quorum,
raw,
replication,
throttle,
virtio_blk_vfio_pci,
virtio_blk_vhost_user,
virtio_blk_vhost_vdpa,
vvfat,
}
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)
blkdebug
blklogwrites
blkreplay
blkverify
bochs
cloop
compress
copy_before_write
copy_on_read
dmg
snapshot_access
ftp
ftps
host_cdrom
host_device
http
https
io_uring
iscsi
nbd
null_aio
null_co
nvme
nvme_io_uring
preallocate
quorum
raw
replication
throttle
virtio_blk_vfio_pci
virtio_blk_vhost_user
virtio_blk_vhost_vdpa
vvfat
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 duplicate 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 Freeze for BlockdevCreateOptions
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