#[repr(transparent)]pub struct EventType(pub u32);
Expand description
Event types stored in the TPM event log. The event type defines which structure type is stored in the event data.
For details of each variant, see the TCG PC Client Platform Firmware Protocol Specification, in particular the Events table in the Event Logging chapter.
Tuple Fields§
§0: u32
Implementations§
source§impl EventType
impl EventType
pub const PREBOOT_CERT: EventType = _
pub const POST_CODE: EventType = _
pub const UNUSED: EventType = _
pub const NO_ACTION: EventType = _
pub const SEPARATOR: EventType = _
pub const ACTION: EventType = _
pub const EVENT_TAG: EventType = _
pub const CRTM_CONTENTS: EventType = _
pub const CRTM_VERSION: EventType = _
pub const CPU_MICROCODE: EventType = _
pub const PLATFORM_CONFIG_FLAGS: EventType = _
pub const TABLE_OF_DEVICES: EventType = _
pub const COMPACT_HASH: EventType = _
pub const IPL: EventType = _
pub const IPL_PARTITION_DATA: EventType = _
pub const NONHOST_CODE: EventType = _
pub const NONHOST_CONFIG: EventType = _
pub const NONHOST_INFO: EventType = _
pub const OMIT_BOOT_DEVICE_EVENTS: EventType = _
pub const EFI_EVENT_BASE: EventType = _
pub const EFI_VARIABLE_DRIVER_CONFIG: EventType = _
pub const EFI_VARIABLE_BOOT: EventType = _
pub const EFI_BOOT_SERVICES_APPLICATION: EventType = _
pub const EFI_BOOT_SERVICES_DRIVER: EventType = _
pub const EFI_RUNTIME_SERVICES_DRIVER: EventType = _
pub const EFI_GPT_EVENT: EventType = _
pub const EFI_ACTION: EventType = _
pub const EFI_PLATFORM_FIRMWARE_BLOB: EventType = _
pub const EFI_HANDOFF_TABLES: EventType = _
pub const EFI_PLATFORM_FIRMWARE_BLOB2: EventType = _
pub const EFI_HANDOFF_TABLES2: EventType = _
pub const EFI_VARIABLE_BOOT2: EventType = _
pub const EFI_HCRTM_EVENT: EventType = _
pub const EFI_VARIABLE_AUTHORITY: EventType = _
pub const EFI_SPDM_FIRMWARE_BLOB: EventType = _
pub const EFI_SPDM_FIRMWARE_CONFIG: EventType = _
Trait Implementations§
source§impl Ord for EventType
impl Ord for EventType
source§impl PartialEq for EventType
impl PartialEq for EventType
source§impl PartialOrd for EventType
impl PartialOrd for EventType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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