#[repr(C)]
pub union BlockdevOptions__bindgen_ty_1 {
Show 34 fields pub blkdebug: BlockdevOptionsBlkdebug, pub blkverify: BlockdevOptionsBlkverify, pub bochs: BlockdevOptionsGenericFormat, pub cloop: BlockdevOptionsGenericFormat, pub dmg: BlockdevOptionsGenericFormat, pub file: BlockdevOptionsFile, pub ftp: BlockdevOptionsCurlFtp, pub ftps: BlockdevOptionsCurlFtps, pub gluster: BlockdevOptionsGluster, pub host_cdrom: BlockdevOptionsFile, pub host_device: BlockdevOptionsFile, pub http: BlockdevOptionsCurlHttp, pub https: BlockdevOptionsCurlHttps, pub iscsi: BlockdevOptionsIscsi, pub luks: BlockdevOptionsLUKS, pub nbd: BlockdevOptionsNbd, pub nfs: BlockdevOptionsNfs, pub null_aio: BlockdevOptionsNull, pub null_co: BlockdevOptionsNull, pub parallels: BlockdevOptionsGenericFormat, pub qcow2: BlockdevOptionsQcow2, pub qcow: BlockdevOptionsGenericCOWFormat, pub qed: BlockdevOptionsGenericCOWFormat, pub quorum: BlockdevOptionsQuorum, pub raw: BlockdevOptionsRaw, pub rbd: BlockdevOptionsRbd, pub replication: BlockdevOptionsReplication, pub sheepdog: BlockdevOptionsSheepdog, pub ssh: BlockdevOptionsSsh, pub vdi: BlockdevOptionsGenericFormat, pub vhdx: BlockdevOptionsGenericFormat, pub vmdk: BlockdevOptionsGenericCOWFormat, pub vpc: BlockdevOptionsGenericFormat, pub vvfat: BlockdevOptionsVVFAT,
}

Fields§

§blkdebug: BlockdevOptionsBlkdebug§blkverify: BlockdevOptionsBlkverify§bochs: BlockdevOptionsGenericFormat§cloop: BlockdevOptionsGenericFormat§dmg: BlockdevOptionsGenericFormat§file: BlockdevOptionsFile§ftp: BlockdevOptionsCurlFtp§ftps: BlockdevOptionsCurlFtps§gluster: BlockdevOptionsGluster§host_cdrom: BlockdevOptionsFile§host_device: BlockdevOptionsFile§http: BlockdevOptionsCurlHttp§https: BlockdevOptionsCurlHttps§iscsi: BlockdevOptionsIscsi§luks: BlockdevOptionsLUKS§nbd: BlockdevOptionsNbd§nfs: BlockdevOptionsNfs§null_aio: BlockdevOptionsNull§null_co: BlockdevOptionsNull§parallels: BlockdevOptionsGenericFormat§qcow2: BlockdevOptionsQcow2§qcow: BlockdevOptionsGenericCOWFormat§qed: BlockdevOptionsGenericCOWFormat§quorum: BlockdevOptionsQuorum§raw: BlockdevOptionsRaw§rbd: BlockdevOptionsRbd§replication: BlockdevOptionsReplication§sheepdog: BlockdevOptionsSheepdog§ssh: BlockdevOptionsSsh§vdi: BlockdevOptionsGenericFormat§vhdx: BlockdevOptionsGenericFormat§vmdk: BlockdevOptionsGenericCOWFormat§vpc: BlockdevOptionsGenericFormat§vvfat: BlockdevOptionsVVFAT

Trait Implementations§

source§

impl Clone for BlockdevOptions__bindgen_ty_1

source§

fn clone(&self) -> BlockdevOptions__bindgen_ty_1

Returns a copy 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 Copy for BlockdevOptions__bindgen_ty_1

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> 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,

§

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>,

§

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>,

§

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.