Struct smbioslib::EventLogTypeDescriptor
source · [−]Expand description
System Event Log Type Descriptor
Each entry consists of a 1-byte type field and a 1-byte data-format descriptor, as shown in Table 61. The presence of an entry identifies that the Log Type is supported by the system and the format of any variable data that accompanies the first bytes of the log’s variable data — a specific log record might have more variable data than specified by its Variable Data Format Type.
Fields
raw: &'a [u8]
Raw byte slice for this event log type descriptor
Implementations
sourceimpl<'a> EventLogTypeDescriptor<'a>
impl<'a> EventLogTypeDescriptor<'a>
sourcepub fn log_type(&self) -> LogTypeData
pub fn log_type(&self) -> LogTypeData
Event Log Type
sourcepub fn variable_data_format_type(&self) -> VariableDataFormatTypeData
pub fn variable_data_format_type(&self) -> VariableDataFormatTypeData
Event Log Variable Data Format Type
The Variable Data Format Type, specified in the Event Log structure’s Supported Event Type fields, identifies the standard format that application software can apply to the first n bytes of the associated. Log Type’s variable data.Additional OEM-specific data might follow in the log’s variable data field.
Trait Implementations
sourceimpl<'a> Debug for EventLogTypeDescriptor<'a>
impl<'a> Debug for EventLogTypeDescriptor<'a>
sourceimpl<'a> Serialize for EventLogTypeDescriptor<'a>
impl<'a> Serialize for EventLogTypeDescriptor<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for EventLogTypeDescriptor<'a>
impl<'a> Send for EventLogTypeDescriptor<'a>
impl<'a> Sync for EventLogTypeDescriptor<'a>
impl<'a> Unpin for EventLogTypeDescriptor<'a>
impl<'a> UnwindSafe for EventLogTypeDescriptor<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more