pub enum BlockdevOptions {
Show 42 variants blkdebug { base: BlockdevOptionsBase, blkdebug: BlockdevOptionsBlkdebug, }, blklogwrites { base: BlockdevOptionsBase, blklogwrites: BlockdevOptionsBlklogwrites, }, blkreplay { base: BlockdevOptionsBase, blkreplay: BlockdevOptionsBlkreplay, }, blkverify { base: BlockdevOptionsBase, blkverify: BlockdevOptionsBlkverify, }, bochs { base: BlockdevOptionsBase, bochs: BlockdevOptionsGenericFormat, }, cloop { base: BlockdevOptionsBase, cloop: BlockdevOptionsGenericFormat, }, compress { base: BlockdevOptionsBase, compress: BlockdevOptionsGenericFormat, }, copy_before_write { base: BlockdevOptionsBase, copy_before_write: BlockdevOptionsCbw, }, copy_on_read { base: BlockdevOptionsBase, copy_on_read: BlockdevOptionsCor, }, dmg { base: BlockdevOptionsBase, dmg: BlockdevOptionsGenericFormat, }, file { base: BlockdevOptionsBase, file: BlockdevOptionsFile, }, ftp { base: BlockdevOptionsBase, ftp: BlockdevOptionsCurlFtp, }, ftps { base: BlockdevOptionsBase, ftps: BlockdevOptionsCurlFtps, }, gluster { base: BlockdevOptionsBase, gluster: BlockdevOptionsGluster, }, host_cdrom { base: BlockdevOptionsBase, host_cdrom: BlockdevOptionsFile, }, host_device { base: BlockdevOptionsBase, host_device: BlockdevOptionsFile, }, http { base: BlockdevOptionsBase, http: BlockdevOptionsCurlHttp, }, https { base: BlockdevOptionsBase, https: BlockdevOptionsCurlHttps, }, iscsi { base: BlockdevOptionsBase, iscsi: BlockdevOptionsIscsi, }, luks { base: BlockdevOptionsBase, luks: BlockdevOptionsLUKS, }, nbd { base: BlockdevOptionsBase, nbd: BlockdevOptionsNbd, }, nfs { base: BlockdevOptionsBase, nfs: BlockdevOptionsNfs, }, null_aio { base: BlockdevOptionsBase, null_aio: BlockdevOptionsNull, }, null_co { base: BlockdevOptionsBase, null_co: BlockdevOptionsNull, }, nvme { base: BlockdevOptionsBase, nvme: BlockdevOptionsNVMe, }, parallels { base: BlockdevOptionsBase, parallels: BlockdevOptionsGenericFormat, }, preallocate { base: BlockdevOptionsBase, preallocate: BlockdevOptionsPreallocate, }, qcow { base: BlockdevOptionsBase, qcow: BlockdevOptionsQcow, }, qcow2 { base: BlockdevOptionsBase, qcow2: BlockdevOptionsQcow2, }, qed { base: BlockdevOptionsBase, qed: BlockdevOptionsGenericCOWFormat, }, quorum { base: BlockdevOptionsBase, quorum: BlockdevOptionsQuorum, }, raw { base: BlockdevOptionsBase, raw: BlockdevOptionsRaw, }, rbd { base: BlockdevOptionsBase, rbd: BlockdevOptionsRbd, }, replication { base: BlockdevOptionsBase, replication: BlockdevOptionsReplication, }, snapshot_access { base: BlockdevOptionsBase, snapshot_access: BlockdevOptionsGenericFormat, }, ssh { base: BlockdevOptionsBase, ssh: BlockdevOptionsSsh, }, throttle { base: BlockdevOptionsBase, throttle: BlockdevOptionsThrottle, }, vdi { base: BlockdevOptionsBase, vdi: BlockdevOptionsGenericFormat, }, vhdx { base: BlockdevOptionsBase, vhdx: BlockdevOptionsGenericFormat, }, vmdk { base: BlockdevOptionsBase, vmdk: BlockdevOptionsGenericCOWFormat, }, vpc { base: BlockdevOptionsBase, vpc: BlockdevOptionsGenericFormat, }, vvfat { base: BlockdevOptionsBase, vvfat: BlockdevOptionsVVFAT, },
}

Variants

blkdebug

blklogwrites

blkreplay

blkverify

bochs

cloop

compress

copy_before_write

Fields

copy_before_write: BlockdevOptionsCbw

copy_on_read

Fields

copy_on_read: BlockdevOptionsCor

dmg

file

ftp

ftps

gluster

host_cdrom

Fields

host_cdrom: BlockdevOptionsFile

host_device

Fields

host_device: BlockdevOptionsFile

http

https

iscsi

luks

nbd

nfs

null_aio

null_co

nvme

parallels

preallocate

qcow

qcow2

qed

quorum

raw

rbd

replication

snapshot_access

ssh

throttle

vdi

vhdx

vmdk

vpc

vvfat

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.