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

Variants

replication

vpc

ssh

blklogwrites

nbd

copy_on_read

Fields

copy_on_read: BlockdevOptionsCor

quorum

qcow

copy_before_write

Fields

copy_before_write: BlockdevOptionsCbw

iscsi

ftp

vdi

host_cdrom

Fields

host_cdrom: BlockdevOptionsFile

throttle

http

luks

parallels

snapshot_access

vvfat

cloop

dmg

file

vmdk

rbd

nvme

host_device

Fields

host_device: BlockdevOptionsFile

nfs

null_co

blkreplay

compress

ftps

qcow2

preallocate

https

gluster

blkdebug

bochs

vhdx

qed

blkverify

raw

null_aio

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.