Enum qapi_qmp::BlockdevDriver
source · [−]pub enum BlockdevDriver {
Show 42 variants
blkdebug,
blklogwrites,
blkreplay,
blkverify,
bochs,
cloop,
compress,
copy_before_write,
copy_on_read,
dmg,
file,
snapshot_access,
ftp,
ftps,
gluster,
host_cdrom,
host_device,
http,
https,
iscsi,
luks,
nbd,
nfs,
null_aio,
null_co,
nvme,
parallels,
preallocate,
qcow,
qcow2,
qed,
quorum,
raw,
rbd,
replication,
ssh,
throttle,
vdi,
vhdx,
vmdk,
vpc,
vvfat,
}Variants
blkdebug
blklogwrites
blkreplay
blkverify
bochs
cloop
compress
copy_before_write
copy_on_read
dmg
file
snapshot_access
ftp
ftps
gluster
host_cdrom
host_device
http
https
iscsi
luks
nbd
nfs
null_aio
null_co
nvme
parallels
preallocate
qcow
qcow2
qed
quorum
raw
rbd
replication
ssh
throttle
vdi
vhdx
vmdk
vpc
vvfat
Trait Implementations
sourceimpl Clone for BlockdevDriver
impl Clone for BlockdevDriver
sourcefn clone(&self) -> BlockdevDriver
fn clone(&self) -> BlockdevDriver
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 BlockdevDriver
impl Debug for BlockdevDriver
sourceimpl<'de> Deserialize<'de> for BlockdevDriver
impl<'de> Deserialize<'de> for BlockdevDriver
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 Enum for BlockdevDriver
impl Enum for BlockdevDriver
fn discriminant(&self) -> usize
const COUNT: usize = 42usize
const VARIANTS: &'static [Self] = &[ BlockdevDriver::blkdebug, BlockdevDriver::blklogwrites, BlockdevDriver::blkreplay, BlockdevDriver::blkverify, BlockdevDriver::bochs, BlockdevDriver::cloop, BlockdevDriver::compress, BlockdevDriver::copy_before_write, BlockdevDriver::copy_on_read, BlockdevDriver::dmg, BlockdevDriver::file, BlockdevDriver::snapshot_access, BlockdevDriver::ftp, BlockdevDriver::ftps, BlockdevDriver::gluster, BlockdevDriver::host_cdrom, BlockdevDriver::host_device, BlockdevDriver::http, BlockdevDriver::https, BlockdevDriver::iscsi, BlockdevDriver::luks, BlockdevDriver::nbd, BlockdevDriver::nfs, BlockdevDriver::null_aio, BlockdevDriver::null_co, BlockdevDriver::nvme, BlockdevDriver::parallels, BlockdevDriver::preallocate, BlockdevDriver::qcow, BlockdevDriver::qcow2, BlockdevDriver::qed, BlockdevDriver::quorum, BlockdevDriver::raw, BlockdevDriver::rbd, BlockdevDriver::replication, BlockdevDriver::ssh, BlockdevDriver::throttle, BlockdevDriver::vdi, BlockdevDriver::vhdx, BlockdevDriver::vmdk, BlockdevDriver::vpc, BlockdevDriver::vvfat, ]
const NAMES: &'static [&'static str] = &[ "blkdebug", "blklogwrites", "blkreplay", "blkverify", "bochs", "cloop", "compress", "copy-before-write", "copy-on-read", "dmg", "file", "snapshot-access", "ftp", "ftps", "gluster", "host_cdrom", "host_device", "http", "https", "iscsi", "luks", "nbd", "nfs", "null-aio", "null-co", "nvme", "parallels", "preallocate", "qcow", "qcow2", "qed", "quorum", "raw", "rbd", "replication", "ssh", "throttle", "vdi", "vhdx", "vmdk", "vpc", "vvfat", ]
fn name(&self) -> &'static str
fn from_name(s: &str) -> Option<Self>
sourceimpl FromStr for BlockdevDriver
impl FromStr for BlockdevDriver
sourceimpl Hash for BlockdevDriver
impl Hash for BlockdevDriver
sourceimpl Ord for BlockdevDriver
impl Ord for BlockdevDriver
sourceimpl PartialEq<BlockdevDriver> for BlockdevDriver
impl PartialEq<BlockdevDriver> for BlockdevDriver
sourceimpl PartialOrd<BlockdevDriver> for BlockdevDriver
impl PartialOrd<BlockdevDriver> for BlockdevDriver
sourcefn partial_cmp(&self, other: &BlockdevDriver) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockdevDriver) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl Serialize for BlockdevDriver
impl Serialize for BlockdevDriver
impl Copy for BlockdevDriver
impl Eq for BlockdevDriver
impl StructuralEq for BlockdevDriver
impl StructuralPartialEq for BlockdevDriver
Auto Trait Implementations
impl RefUnwindSafe for BlockdevDriver
impl Send for BlockdevDriver
impl Sync for BlockdevDriver
impl Unpin for BlockdevDriver
impl UnwindSafe for BlockdevDriver
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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more