pub enum BootSource {
Show 16 variants
None,
Pxe,
Floppy,
Cd,
Usb,
Hdd,
BiosSetup,
Utilities,
Diags,
UefiShell,
UefiTarget,
SDCard,
UefiHttp,
RemoteDrive,
UefiBootNext,
Recovery,
}
Variants§
None
Boot from the normal boot device.
Pxe
Boot from the Pre-Boot EXecution (PXE) environment.
Floppy
Boot from the floppy disk drive.
Cd
Boot from the CD or DVD.
Usb
Boot from a system BIOS-specified USB device.
Hdd
Boot from a hard drive.
BiosSetup
Boot to the BIOS setup utility.
Utilities
Boot to the manufacturer’s utilities program or programs.
Diags
Boot to the manufacturer’s diagnostics program.
UefiShell
Boot to the UEFI Shell.
UefiTarget
Boot to the UEFI device specified in the UefiTargetBootSourceOverride property.
SDCard
Boot from an SD card. Added in version v1_1_0.
UefiHttp
Boot from a UEFI HTTP network location. Added in version v1_1_0.
RemoteDrive
Boot from a remote drive, such as an iSCSI target. Added in version v1_2_0.
UefiBootNext
Boot to the UEFI device that the BootNext property specifies. Added in version v1_5_0.
Recovery
Boot to a system-designated recovery process or image. Added in version v1_19_0.
Trait Implementations§
Source§impl Clone for BootSource
impl Clone for BootSource
Source§fn clone(&self) -> BootSource
fn clone(&self) -> BootSource
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more