#[non_exhaustive]pub enum VmFeature {
Snapshot,
StartStop,
NatNetwork,
FlatNetwork,
}Expand description
Supported features of vm-engines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Snapshot
If snapshot is supported.
StartStop
If start/stop(aka pause) is supported.
NatNetwork
If Nat is supported.
FlatNetwork
If Flatten is supported.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VmFeature
impl RefUnwindSafe for VmFeature
impl Send for VmFeature
impl Sync for VmFeature
impl Unpin for VmFeature
impl UnwindSafe for VmFeature
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