pub enum BootEntry<ObjectID: FsVerityHashValue> {
Type1(Type1Entry<ObjectID>),
Type2(Type2Entry<ObjectID>),
UsrLibModulesVmLinuz(UsrLibModulesVmlinuz<ObjectID>),
}Expand description
Represents any type of boot entry found in the filesystem.
This enum unifies the three types of boot entries that can be discovered: Type 1 BLS entries, Type 2 UKIs, and traditional vmlinuz/initramfs pairs.
Variants§
Type1(Type1Entry<ObjectID>)
Boot Loader Specification Type 1 entry
Type2(Type2Entry<ObjectID>)
Boot Loader Specification Type 2 entry (UKI)
UsrLibModulesVmLinuz(UsrLibModulesVmlinuz<ObjectID>)
Traditional vmlinuz from /usr/lib/modules
Trait Implementations§
Auto Trait Implementations§
impl<ObjectID> Freeze for BootEntry<ObjectID>where
ObjectID: Freeze,
impl<ObjectID> RefUnwindSafe for BootEntry<ObjectID>where
ObjectID: RefUnwindSafe,
impl<ObjectID> Send for BootEntry<ObjectID>
impl<ObjectID> Sync for BootEntry<ObjectID>
impl<ObjectID> Unpin for BootEntry<ObjectID>
impl<ObjectID> UnwindSafe for BootEntry<ObjectID>where
ObjectID: UnwindSafe,
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