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

Variants

blklogwrites

compress

null_aio

rbd

copy_before_write

Fields

copy_before_write: BlockdevOptionsCbw

ftp

host_device

Fields

host_device: BlockdevOptionsFile

luks

quorum

snapshot_access

qed

preallocate

qcow

vdi

nbd

ftps

null_co

replication

ssh

nfs

iscsi

vhdx

bochs

cloop

vmdk

host_cdrom

Fields

host_cdrom: BlockdevOptionsFile

http

vvfat

blkreplay

dmg

parallels

raw

nvme

throttle

copy_on_read

Fields

copy_on_read: BlockdevOptionsCor

qcow2

gluster

https

blkdebug

file

blkverify

vpc

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.