Enum qapi_qmp::ImageInfoSpecific
source · [−]pub enum ImageInfoSpecific {
rbd(ImageInfoSpecificRbdWrapper),
qcow2(ImageInfoSpecificQCow2Wrapper),
vmdk(ImageInfoSpecificVmdkWrapper),
luks(ImageInfoSpecificLUKSWrapper),
}Variants
rbd(ImageInfoSpecificRbdWrapper)
qcow2(ImageInfoSpecificQCow2Wrapper)
vmdk(ImageInfoSpecificVmdkWrapper)
luks(ImageInfoSpecificLUKSWrapper)
Implementations
sourceimpl ImageInfoSpecific
impl ImageInfoSpecific
pub fn type_(&self) -> ImageInfoSpecificKind
Trait Implementations
sourceimpl Clone for ImageInfoSpecific
impl Clone for ImageInfoSpecific
sourcefn clone(&self) -> ImageInfoSpecific
fn clone(&self) -> ImageInfoSpecific
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ImageInfoSpecific
impl Debug for ImageInfoSpecific
sourceimpl<'de> Deserialize<'de> for ImageInfoSpecific
impl<'de> Deserialize<'de> for ImageInfoSpecific
sourcefn 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
sourceimpl From<ImageInfoSpecificLUKSWrapper> for ImageInfoSpecific
impl From<ImageInfoSpecificLUKSWrapper> for ImageInfoSpecific
sourcefn from(val: ImageInfoSpecificLUKSWrapper) -> Self
fn from(val: ImageInfoSpecificLUKSWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<ImageInfoSpecificQCow2> for ImageInfoSpecific
impl From<ImageInfoSpecificQCow2> for ImageInfoSpecific
sourcefn from(val: ImageInfoSpecificQCow2) -> Self
fn from(val: ImageInfoSpecificQCow2) -> Self
Converts to this type from the input type.
sourceimpl From<ImageInfoSpecificQCow2Wrapper> for ImageInfoSpecific
impl From<ImageInfoSpecificQCow2Wrapper> for ImageInfoSpecific
sourcefn from(val: ImageInfoSpecificQCow2Wrapper) -> Self
fn from(val: ImageInfoSpecificQCow2Wrapper) -> Self
Converts to this type from the input type.
sourceimpl From<ImageInfoSpecificRbd> for ImageInfoSpecific
impl From<ImageInfoSpecificRbd> for ImageInfoSpecific
sourcefn from(val: ImageInfoSpecificRbd) -> Self
fn from(val: ImageInfoSpecificRbd) -> Self
Converts to this type from the input type.
sourceimpl From<ImageInfoSpecificRbdWrapper> for ImageInfoSpecific
impl From<ImageInfoSpecificRbdWrapper> for ImageInfoSpecific
sourcefn from(val: ImageInfoSpecificRbdWrapper) -> Self
fn from(val: ImageInfoSpecificRbdWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<ImageInfoSpecificVmdk> for ImageInfoSpecific
impl From<ImageInfoSpecificVmdk> for ImageInfoSpecific
sourcefn from(val: ImageInfoSpecificVmdk) -> Self
fn from(val: ImageInfoSpecificVmdk) -> Self
Converts to this type from the input type.
sourceimpl From<ImageInfoSpecificVmdkWrapper> for ImageInfoSpecific
impl From<ImageInfoSpecificVmdkWrapper> for ImageInfoSpecific
sourcefn from(val: ImageInfoSpecificVmdkWrapper) -> Self
fn from(val: ImageInfoSpecificVmdkWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<QCryptoBlockInfoLUKS> for ImageInfoSpecific
impl From<QCryptoBlockInfoLUKS> for ImageInfoSpecific
sourcefn from(val: QCryptoBlockInfoLUKS) -> Self
fn from(val: QCryptoBlockInfoLUKS) -> Self
Converts to this type from the input type.
sourceimpl Serialize for ImageInfoSpecific
impl Serialize for ImageInfoSpecific
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more