pub struct PreparedIso {
pub kernel: PathBuf,
pub initrd: Option<PathBuf>,
pub cmdline: Option<String>,
/* private fields */
}Expand description
A live, loop-mounted ISO with absolute paths suitable for handoff to
kexec-loader. Unmounts on drop.
Fields§
§kernel: PathBufAbsolute path to the kernel image on the live mount.
initrd: Option<PathBuf>Absolute path to the initrd, if any.
cmdline: Option<String>Kernel command line, copied from the discovery record.
Implementations§
Source§impl PreparedIso
impl PreparedIso
Sourcepub fn mount_point(&self) -> &Path
pub fn mount_point(&self) -> &Path
Path under which the ISO is currently loop-mounted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreparedIso
impl RefUnwindSafe for PreparedIso
impl Send for PreparedIso
impl Sync for PreparedIso
impl Unpin for PreparedIso
impl UnsafeUnpin for PreparedIso
impl UnwindSafe for PreparedIso
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