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

Variants

raw

iscsi

file

vvfat

copy_before_write

Fields

copy_before_write: BlockdevOptionsCbw

qcow2

blkreplay

blkverify

blklogwrites

cloop

snapshot_access

vpc

parallels

null_co

throttle

blkdebug

compress

http

quorum

ftps

vdi

copy_on_read

Fields

copy_on_read: BlockdevOptionsCor

qed

vhdx

luks

ftp

qcow

bochs

host_device

Fields

host_device: BlockdevOptionsFile

nbd

nfs

dmg

preallocate

null_aio

nvme

rbd

ssh

https

gluster

host_cdrom

Fields

host_cdrom: BlockdevOptionsFile

vmdk

replication

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.