pub struct Image {
pub path: PathBuf,
pub efi_code: PathBuf,
pub efi_vars_template: PathBuf,
pub prepared: bool,
pub snapshot: Option<SnapshotFiles>,
}Expand description
Paths to the cached base image and EFI firmware.
Fields§
§path: PathBufPrepared qcow2 image.
efi_code: PathBuf§efi_vars_template: PathBuf§prepared: boolIf true, cloud-init packages are already installed — skip package install.
snapshot: Option<SnapshotFiles>Snapshot boot files (if available). When present, VMs restore from a saved QEMU snapshot instead of cold-booting — SSH is ready in <1s.
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnsafeUnpin for Image
impl UnwindSafe for Image
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