#[non_exhaustive]pub enum VmConfig {
VmCreationConfig(Box<VmCreationConfig>),
VmSelectionConfig(Box<VmSelectionConfig>),
}Expand description
The VM configuration
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.
VmCreationConfig(Box<VmCreationConfig>)
The VM creation configuration
VmSelectionConfig(Box<VmSelectionConfig>)
The VM selection configuration
Trait Implementations§
impl StructuralPartialEq for VmConfig
Auto Trait Implementations§
impl Freeze for VmConfig
impl RefUnwindSafe for VmConfig
impl Send for VmConfig
impl Sync for VmConfig
impl Unpin for VmConfig
impl UnwindSafe for VmConfig
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