pub struct DistroLauncher {
entries: Vec<BootEntry>,
selected_index: usize,
}Fields§
§entries: Vec<BootEntry>§selected_index: usizeImplementations§
Source§impl DistroLauncher
impl DistroLauncher
pub(super) fn boot_entry( &self, screen: &mut Screen, keyboard: &mut Keyboard, boot_services: &BootServices, system_table: *mut (), image_handle: *mut (), entry: &BootEntry, )
fn boot_from_iso( &self, screen: &mut Screen, keyboard: &mut Keyboard, boot_services: &BootServices, system_table: *mut (), image_handle: *mut (), entry: &BootEntry, )
Sourcefn boot_from_chunked_iso(
&self,
screen: &mut Screen,
keyboard: &mut Keyboard,
boot_services: &BootServices,
system_table: *mut (),
image_handle: *mut (),
entry: &BootEntry,
)
fn boot_from_chunked_iso( &self, screen: &mut Screen, keyboard: &mut Keyboard, boot_services: &BootServices, system_table: *mut (), image_handle: *mut (), entry: &BootEntry, )
Boot from a chunked ISO stored via IsoStorageManager
Sourcefn get_first_disk_block_io(
boot_services: &BootServices,
) -> Option<*mut BlockIoProtocol>
fn get_first_disk_block_io( boot_services: &BootServices, ) -> Option<*mut BlockIoProtocol>
Get BlockIoProtocol pointer for first physical disk
unsafe fn get_esp_root( boot_services: &BootServices, image_handle: *mut (), ) -> Result<*mut FileProtocol, ()>
fn read_file_to_uefi_pages( boot_services: &BootServices, image_handle: *mut (), path: &str, screen: &mut Screen, max_size: usize, start_line: usize, ) -> Result<(*mut u8, usize), &'static str>
Source§impl DistroLauncher
impl DistroLauncher
pub(super) fn await_failure( screen: &mut Screen, keyboard: &mut Keyboard, start_line: usize, message: &str, log_tag: &'static str, )
pub(super) fn dump_logs_to_screen(screen: &mut Screen)
pub(super) fn describe_boot_error(error: &BootError) -> String
Source§impl DistroLauncher
impl DistroLauncher
pub fn new(boot_services: *const BootServices, image_handle: *mut ()) -> Self
fn select_next(&mut self)
fn select_prev(&mut self)
fn render(&self, screen: &mut Screen)
pub fn run( &mut self, screen: &mut Screen, keyboard: &mut Keyboard, boot_services: &BootServices, system_table: *mut (), image_handle: *mut (), )
Auto Trait Implementations§
impl Freeze for DistroLauncher
impl RefUnwindSafe for DistroLauncher
impl Send for DistroLauncher
impl Sync for DistroLauncher
impl Unpin for DistroLauncher
impl UnwindSafe for DistroLauncher
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