pub enum DiskImageFormat {
Qcow2,
Raw,
Vmdk,
}Expand description
Disk image format for virtio-blk root filesystems and volume mounts.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DiskImageFormat
impl Clone for DiskImageFormat
Source§fn clone(&self) -> DiskImageFormat
fn clone(&self) -> DiskImageFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiskImageFormat
Source§impl Debug for DiskImageFormat
impl Debug for DiskImageFormat
Source§impl<'de> Deserialize<'de> for DiskImageFormat
impl<'de> Deserialize<'de> for DiskImageFormat
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 Display for DiskImageFormat
impl Display for DiskImageFormat
impl Eq for DiskImageFormat
Source§impl FromStr for DiskImageFormat
impl FromStr for DiskImageFormat
Source§impl PartialEq for DiskImageFormat
impl PartialEq for DiskImageFormat
Source§fn eq(&self, other: &DiskImageFormat) -> bool
fn eq(&self, other: &DiskImageFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DiskImageFormat
impl Serialize for DiskImageFormat
impl StructuralPartialEq for DiskImageFormat
Auto Trait Implementations§
impl Freeze for DiskImageFormat
impl RefUnwindSafe for DiskImageFormat
impl Send for DiskImageFormat
impl Sync for DiskImageFormat
impl Unpin for DiskImageFormat
impl UnsafeUnpin for DiskImageFormat
impl UnwindSafe for DiskImageFormat
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