pub enum Platform {
MacOS,
LinuxNative,
LinuxNoKvm,
}Expand description
The execution environment for running Firecracker workloads.
Variants§
MacOS
macOS — requires Lima VM for nested virtualization
LinuxNative
Native Linux with /dev/kvm available — run directly on host
LinuxNoKvm
Linux without /dev/kvm — requires Lima VM (e.g., WSL2 without KVM)
Implementations§
Trait Implementations§
impl Copy for Platform
impl Eq for Platform
impl StructuralPartialEq for Platform
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnsafeUnpin for Platform
impl UnwindSafe for Platform
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