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

Variants

vpc

dmg

qcow2

blklogwrites

ftps

iscsi

null_co

blkreplay

preallocate

http

throttle

file

nfs

blkdebug

https

rbd

ssh

vdi

ftp

bochs

host_cdrom

Fields

host_cdrom: BlockdevOptionsFile

gluster

vhdx

cloop

null_aio

qcow

copy_before_write

Fields

copy_before_write: BlockdevOptionsCbw

luks

quorum

raw

replication

vvfat

nbd

compress

copy_on_read

Fields

copy_on_read: BlockdevOptionsCor

host_device

Fields

host_device: BlockdevOptionsFile

snapshot_access

blkverify

vmdk

parallels

nvme

qed

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.