pub struct PreparedImage {
pub kernel: PathBuf,
pub initramfs: Option<PathBuf>,
pub disk: PathBuf,
}Expand description
A prepared image — all files needed to boot a VM.
Fields§
§kernel: PathBufPath to the kernel image.
initramfs: Option<PathBuf>Path to the initramfs (if the distro provides one).
disk: PathBufPath to the root disk image (raw format, ready for CoW cloning).
Trait Implementations§
Source§impl Clone for PreparedImage
impl Clone for PreparedImage
Source§fn clone(&self) -> PreparedImage
fn clone(&self) -> PreparedImage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PreparedImage
impl RefUnwindSafe for PreparedImage
impl Send for PreparedImage
impl Sync for PreparedImage
impl Unpin for PreparedImage
impl UnsafeUnpin for PreparedImage
impl UnwindSafe for PreparedImage
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