#[repr(u8)]pub enum UnifiedSection {
Linux = 0,
OsRel = 1,
CmdLine = 2,
Initrd = 3,
Splash = 4,
Dtb = 5,
PcrSig = 6,
PcrPkey = 7,
}
Expand description
List of PE sections that have a special meaning with respect to UKI specification. This is the canonical order in which they are measured into TPM PCR 11. !!! DO NOT REORDER !!!
Variants§
Implementations§
Source§impl UnifiedSection
impl UnifiedSection
Sourcepub fn should_be_measured(&self) -> bool
pub fn should_be_measured(&self) -> bool
Whether this section should be measured into TPM.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnifiedSection
impl RefUnwindSafe for UnifiedSection
impl Send for UnifiedSection
impl Sync for UnifiedSection
impl Unpin for UnifiedSection
impl UnwindSafe for UnifiedSection
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