pub enum SnapshotFormat {
Raw,
Qcow2,
}Expand description
Physical disk format.
Variants§
Trait Implementations§
Source§impl Clone for SnapshotFormat
impl Clone for SnapshotFormat
Source§fn clone(&self) -> SnapshotFormat
fn clone(&self) -> SnapshotFormat
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 SnapshotFormat
Source§impl Debug for SnapshotFormat
impl Debug for SnapshotFormat
Source§impl<'de> Deserialize<'de> for SnapshotFormat
impl<'de> Deserialize<'de> for SnapshotFormat
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SnapshotFormat, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SnapshotFormat, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SnapshotFormat
Source§impl PartialEq for SnapshotFormat
impl PartialEq for SnapshotFormat
Source§impl Serialize for SnapshotFormat
impl Serialize for SnapshotFormat
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SnapshotFormat
Auto Trait Implementations§
impl Freeze for SnapshotFormat
impl RefUnwindSafe for SnapshotFormat
impl Send for SnapshotFormat
impl Sync for SnapshotFormat
impl Unpin for SnapshotFormat
impl UnsafeUnpin for SnapshotFormat
impl UnwindSafe for SnapshotFormat
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