pub struct UsrLibModulesVmlinuz<ObjectID: FsVerityHashValue> {
pub kver: Box<str>,
pub vmlinuz: RegularFile<ObjectID>,
pub initramfs: Option<RegularFile<ObjectID>>,
pub os_release: Option<RegularFile<ObjectID>>,
}Expand description
Represents a traditional vmlinuz/initramfs pair from /usr/lib/modules.
This is for kernels found in /usr/lib/modules/{kver}/ that have a vmlinuz and optionally an initramfs.img file.
Fields§
§kver: Box<str>Kernel version string (directory name in /usr/lib/modules)
vmlinuz: RegularFile<ObjectID>The kernel image file
initramfs: Option<RegularFile<ObjectID>>Optional initramfs image
os_release: Option<RegularFile<ObjectID>>Optional os-release file from /usr/lib/os-release
Implementations§
Source§impl<ObjectID: FsVerityHashValue> UsrLibModulesVmlinuz<ObjectID>
impl<ObjectID: FsVerityHashValue> UsrLibModulesVmlinuz<ObjectID>
Sourcepub fn into_type1(self, entry_id: Option<&str>) -> Type1Entry<ObjectID>
pub fn into_type1(self, entry_id: Option<&str>) -> Type1Entry<ObjectID>
Trait Implementations§
Auto Trait Implementations§
impl<ObjectID> Freeze for UsrLibModulesVmlinuz<ObjectID>where
ObjectID: Freeze,
impl<ObjectID> RefUnwindSafe for UsrLibModulesVmlinuz<ObjectID>where
ObjectID: RefUnwindSafe,
impl<ObjectID> Send for UsrLibModulesVmlinuz<ObjectID>
impl<ObjectID> Sync for UsrLibModulesVmlinuz<ObjectID>
impl<ObjectID> Unpin for UsrLibModulesVmlinuz<ObjectID>
impl<ObjectID> UnwindSafe for UsrLibModulesVmlinuz<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