pub enum BLSKey {
Show 15 variants
Title,
Version,
MachineId,
SortKey,
Linux,
Efi,
Initrd,
Options,
Devicetree,
DevicetreeOverlay,
Architecture,
GrubHotkey,
GrubUsers,
GrubClass,
GrubArg,
}Expand description
BLS and Fedora/GRUB entry keys. Parse from key strings via FromStr (e.g. "linux", "machine-id").
Variants§
Title
Human-readable menu title.
Version
Version string (e.g. kernel version).
MachineId
Machine ID (32 hex chars).
SortKey
Sort key for menu ordering.
Linux
Linux kernel image path (required unless efi is set).
Efi
EFI program path.
Initrd
Initrd path (may appear multiple times).
Options
Kernel/command-line options (may appear multiple times).
Devicetree
Device tree path.
DevicetreeOverlay
Device tree overlay path(s).
Architecture
Architecture (e.g. x64, aa64).
GrubHotkey
Fedora/GRUB: hotkey for the entry.
GrubUsers
Fedora/GRUB: users allowed to boot this entry.
GrubClass
Fedora/GRUB: menu class (may appear multiple times).
GrubArg
Fedora/GRUB: extra argument.
Trait Implementations§
impl StructuralPartialEq for BLSKey
Auto Trait Implementations§
impl Freeze for BLSKey
impl RefUnwindSafe for BLSKey
impl Send for BLSKey
impl Sync for BLSKey
impl Unpin for BLSKey
impl UnsafeUnpin for BLSKey
impl UnwindSafe for BLSKey
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