pub struct InstallSession {
pub child: Child,
pub mon: Arc<Monitor>,
pub vm_dir: PathBuf,
pub screenshots: Option<JoinHandle<()>>,
pub img_bin: PathBuf,
}Expand description
Live installer session: QEMU still running after the OS reports ready.
The caller owns the tail (capture a final frame, optionally offer a
shell, wait for Ctrl-C, kill) via the shared helpers below — cmd_install
supervises it, cmd_run --win-iso tears it down immediately and boots
the disk instead. One core, no pasted tails.
Fields§
§child: Child§mon: Arc<Monitor>§vm_dir: PathBuf§screenshots: Option<JoinHandle<()>>§img_bin: PathBufqemu-img binary used for this install (for the post-kill golden
snapshot — the session outlives the paths that found it).
Auto Trait Implementations§
impl !RefUnwindSafe for InstallSession
impl !UnwindSafe for InstallSession
impl Freeze for InstallSession
impl Send for InstallSession
impl Sync for InstallSession
impl Unpin for InstallSession
impl UnsafeUnpin for InstallSession
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