pub struct Type2Entry<ObjectID: FsVerityHashValue> {
pub kver: Option<Box<OsStr>>,
pub file_path: PathBuf,
pub file: RegularFile<ObjectID>,
pub pe_type: PEType,
}Expand description
Represents a Boot Loader Specification Type 2 entry (Unified Kernel Image).
Type 2 entries are UKI files that bundle the kernel, initrd, and other components into a single EFI executable.
Fields§
§kver: Option<Box<OsStr>>Kernel version string, if found in /usr/lib/modules
file_path: PathBufPath to the file (relative to /boot/EFI/Linux)
file: RegularFile<ObjectID>The Portable Executable binary
pe_type: PETypeType of PE file (UKI or UKI addon)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<ObjectID> Freeze for Type2Entry<ObjectID>where
ObjectID: Freeze,
impl<ObjectID> RefUnwindSafe for Type2Entry<ObjectID>where
ObjectID: RefUnwindSafe,
impl<ObjectID> Send for Type2Entry<ObjectID>
impl<ObjectID> Sync for Type2Entry<ObjectID>
impl<ObjectID> Unpin for Type2Entry<ObjectID>
impl<ObjectID> UnwindSafe for Type2Entry<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