pub enum BootOrder {
Cdrom,
Disk,
CdromDisk,
}Variants§
Cdrom
Disk
CdromDisk
cdrom,disk — the appliance’s boot order, and it is not a synonym for
cdrom. holger’s appliance and twin declare it so a re-image is
“attach the medium and reboot” and an empty drive falls straight through
to the disk. For behaviour 17 (an install killed mid-flight loops
forever) it behaves exactly as cdrom does, because the CD is still
FIRST — which is the whole of what makes the loop.
Implementations§
Source§impl BootOrder
impl BootOrder
pub fn as_str(self) -> &'static str
pub fn parse(s: &str) -> Option<BootOrder>
Sourcepub fn cdrom_first(self) -> bool
pub fn cdrom_first(self) -> bool
Whether an attached medium is tried BEFORE the disk. The one question
the boot path actually asks, so cdrom,disk cannot be forgotten at the
place where forgetting it silently ends the installer loop.
Trait Implementations§
impl Copy for BootOrder
impl Eq for BootOrder
impl StructuralPartialEq for BootOrder
Auto Trait Implementations§
impl Freeze for BootOrder
impl RefUnwindSafe for BootOrder
impl Send for BootOrder
impl Sync for BootOrder
impl Unpin for BootOrder
impl UnsafeUnpin for BootOrder
impl UnwindSafe for BootOrder
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