pub struct BootEntryOptions {
pub load_size: Option<NonZeroU16>,
pub boot_image_path: String,
pub boot_info_table: bool,
pub grub2_boot_info: bool,
pub emulation: EmulationType,
}Available on crate features
sync and write only.Expand description
Represents BootEntryOptions.
Fields§
§load_size: Option<NonZeroU16>Number of 512-byte virtual sectors loaded by firmware.
boot_image_path: StringPath of the prepared boot image inside the ISO.
The image is treated as opaque. For floppy or hard-disk emulation, callers must provide an image containing the required filesystem and partition structures.
boot_info_table: boolThe boot_info_table field.
grub2_boot_info: boolThe grub2_boot_info field.
emulation: EmulationTypeThe emulation field.
Trait Implementations§
Source§impl Clone for BootEntryOptions
impl Clone for BootEntryOptions
Source§impl Debug for BootEntryOptions
impl Debug for BootEntryOptions
Auto Trait Implementations§
impl Freeze for BootEntryOptions
impl RefUnwindSafe for BootEntryOptions
impl Send for BootEntryOptions
impl Sync for BootEntryOptions
impl Unpin for BootEntryOptions
impl UnsafeUnpin for BootEntryOptions
impl UnwindSafe for BootEntryOptions
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