Enum qapi_qmp::ImageInfoSpecific
source · pub enum ImageInfoSpecific {
file(ImageInfoSpecificFileWrapper),
luks(ImageInfoSpecificLUKSWrapper),
qcow2(ImageInfoSpecificQCow2Wrapper),
rbd(ImageInfoSpecificRbdWrapper),
vmdk(ImageInfoSpecificVmdkWrapper),
}
Variants§
file(ImageInfoSpecificFileWrapper)
luks(ImageInfoSpecificLUKSWrapper)
qcow2(ImageInfoSpecificQCow2Wrapper)
rbd(ImageInfoSpecificRbdWrapper)
vmdk(ImageInfoSpecificVmdkWrapper)
Implementations§
source§impl ImageInfoSpecific
impl ImageInfoSpecific
pub fn type_(&self) -> ImageInfoSpecificKind
Trait Implementations§
source§impl Clone for ImageInfoSpecific
impl Clone for ImageInfoSpecific
source§fn clone(&self) -> ImageInfoSpecific
fn clone(&self) -> ImageInfoSpecific
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageInfoSpecific
impl Debug for ImageInfoSpecific
source§impl<'de> Deserialize<'de> for ImageInfoSpecific
impl<'de> Deserialize<'de> for ImageInfoSpecific
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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<ImageInfoSpecificFile> for ImageInfoSpecific
impl From<ImageInfoSpecificFile> for ImageInfoSpecific
source§fn from(val: ImageInfoSpecificFile) -> Self
fn from(val: ImageInfoSpecificFile) -> Self
Converts to this type from the input type.
source§impl From<ImageInfoSpecificFileWrapper> for ImageInfoSpecific
impl From<ImageInfoSpecificFileWrapper> for ImageInfoSpecific
source§fn from(val: ImageInfoSpecificFileWrapper) -> Self
fn from(val: ImageInfoSpecificFileWrapper) -> Self
Converts to this type from the input type.
source§impl From<ImageInfoSpecificLUKSWrapper> for ImageInfoSpecific
impl From<ImageInfoSpecificLUKSWrapper> for ImageInfoSpecific
source§fn from(val: ImageInfoSpecificLUKSWrapper) -> Self
fn from(val: ImageInfoSpecificLUKSWrapper) -> Self
Converts to this type from the input type.
source§impl From<ImageInfoSpecificQCow2> for ImageInfoSpecific
impl From<ImageInfoSpecificQCow2> for ImageInfoSpecific
source§fn from(val: ImageInfoSpecificQCow2) -> Self
fn from(val: ImageInfoSpecificQCow2) -> Self
Converts to this type from the input type.
source§impl From<ImageInfoSpecificQCow2Wrapper> for ImageInfoSpecific
impl From<ImageInfoSpecificQCow2Wrapper> for ImageInfoSpecific
source§fn from(val: ImageInfoSpecificQCow2Wrapper) -> Self
fn from(val: ImageInfoSpecificQCow2Wrapper) -> Self
Converts to this type from the input type.
source§impl From<ImageInfoSpecificRbd> for ImageInfoSpecific
impl From<ImageInfoSpecificRbd> for ImageInfoSpecific
source§fn from(val: ImageInfoSpecificRbd) -> Self
fn from(val: ImageInfoSpecificRbd) -> Self
Converts to this type from the input type.
source§impl From<ImageInfoSpecificRbdWrapper> for ImageInfoSpecific
impl From<ImageInfoSpecificRbdWrapper> for ImageInfoSpecific
source§fn from(val: ImageInfoSpecificRbdWrapper) -> Self
fn from(val: ImageInfoSpecificRbdWrapper) -> Self
Converts to this type from the input type.
source§impl From<ImageInfoSpecificVmdk> for ImageInfoSpecific
impl From<ImageInfoSpecificVmdk> for ImageInfoSpecific
source§fn from(val: ImageInfoSpecificVmdk) -> Self
fn from(val: ImageInfoSpecificVmdk) -> Self
Converts to this type from the input type.
source§impl From<ImageInfoSpecificVmdkWrapper> for ImageInfoSpecific
impl From<ImageInfoSpecificVmdkWrapper> for ImageInfoSpecific
source§fn from(val: ImageInfoSpecificVmdkWrapper) -> Self
fn from(val: ImageInfoSpecificVmdkWrapper) -> Self
Converts to this type from the input type.
source§impl From<QCryptoBlockInfoLUKS> for ImageInfoSpecific
impl From<QCryptoBlockInfoLUKS> for ImageInfoSpecific
source§fn from(val: QCryptoBlockInfoLUKS) -> Self
fn from(val: QCryptoBlockInfoLUKS) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ImageInfoSpecific
impl Send for ImageInfoSpecific
impl Sync for ImageInfoSpecific
impl Unpin for ImageInfoSpecific
impl UnwindSafe for ImageInfoSpecific
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more