Enum BlockdevCreateOptions

Source
pub enum BlockdevCreateOptions {
Show 47 variants file(BlockdevCreateOptionsFile), gluster(BlockdevCreateOptionsGluster), luks(BlockdevCreateOptionsLUKS), nfs(BlockdevCreateOptionsNfs), parallels(BlockdevCreateOptionsParallels), qcow(BlockdevCreateOptionsQcow), qcow2(BlockdevCreateOptionsQcow2), qed(BlockdevCreateOptionsQed), rbd(BlockdevCreateOptionsRbd), ssh(BlockdevCreateOptionsSsh), vdi(BlockdevCreateOptionsVdi), vhdx(BlockdevCreateOptionsVhdx), vmdk(BlockdevCreateOptionsVmdk), vpc(BlockdevCreateOptionsVpc), blkdebug, blklogwrites, blkreplay, blkverify, bochs, cloop, compress, copy_before_write, copy_on_read, dmg, snapshot_access, ftp, ftps, host_cdrom, host_device, http, https, io_uring, iscsi, nbd, null_aio, null_co, nvme, nvme_io_uring, preallocate, quorum, raw, replication, throttle, virtio_blk_vfio_pci, virtio_blk_vhost_user, virtio_blk_vhost_vdpa, vvfat,
}

Variants§

§

file(BlockdevCreateOptionsFile)

§

gluster(BlockdevCreateOptionsGluster)

§

luks(BlockdevCreateOptionsLUKS)

§

nfs(BlockdevCreateOptionsNfs)

§

parallels(BlockdevCreateOptionsParallels)

§

qcow(BlockdevCreateOptionsQcow)

§

qcow2(BlockdevCreateOptionsQcow2)

§

qed(BlockdevCreateOptionsQed)

§

rbd(BlockdevCreateOptionsRbd)

§

ssh(BlockdevCreateOptionsSsh)

§

vdi(BlockdevCreateOptionsVdi)

§

vhdx(BlockdevCreateOptionsVhdx)

§

vmdk(BlockdevCreateOptionsVmdk)

§

vpc(BlockdevCreateOptionsVpc)

§

blkdebug

§

blklogwrites

§

blkreplay

§

blkverify

§

bochs

§

cloop

§

compress

§

copy_before_write

§

copy_on_read

§

dmg

§

snapshot_access

§

ftp

§

ftps

§

host_cdrom

§

host_device

§

http

§

https

§

io_uring

§

iscsi

§

nbd

§

null_aio

§

null_co

§

nvme

§

nvme_io_uring

§

preallocate

§

quorum

§

raw

§

replication

§

throttle

§

virtio_blk_vfio_pci

§

virtio_blk_vhost_user

§

virtio_blk_vhost_vdpa

§

vvfat

Implementations§

Trait Implementations§

Source§

impl Clone for BlockdevCreateOptions

Source§

fn clone(&self) -> BlockdevCreateOptions

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BlockdevCreateOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for BlockdevCreateOptions

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<BlockdevCreateOptionsFile> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsFile) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsGluster> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsGluster) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsLUKS> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsLUKS) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsNfs> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsNfs) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsParallels> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsParallels) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsQcow> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsQcow) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsQcow2> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsQcow2) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsQed> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsQed) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsRbd> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsRbd) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsSsh> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsSsh) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsVdi> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsVdi) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsVhdx> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsVhdx) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsVmdk> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsVmdk) -> Self

Converts to this type from the input type.
Source§

impl From<BlockdevCreateOptionsVpc> for BlockdevCreateOptions

Source§

fn from(val: BlockdevCreateOptionsVpc) -> Self

Converts to this type from the input type.
Source§

impl Serialize for BlockdevCreateOptions

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,