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

Variants

preallocate

vvfat

null_co

nvme

vmdk

ftp

vdi

bochs

throttle

ftps

dmg

replication

cloop

http

quorum

ssh

luks

vhdx

qcow2

blkverify

null_aio

raw

blkreplay

host_cdrom

Fields

host_cdrom: BlockdevOptionsFile

compress

nbd

copy_before_write

Fields

copy_before_write: BlockdevOptionsCbw

qed

gluster

snapshot_access

vpc

blklogwrites

blkdebug

file

https

nfs

parallels

copy_on_read

Fields

copy_on_read: BlockdevOptionsCor

host_device

Fields

host_device: BlockdevOptionsFile

iscsi

qcow

rbd

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.