Struct smbioslib::SMBiosSystemEventLog [−][src]
pub struct SMBiosSystemEventLog<'a> { /* fields omitted */ }
System Event Log (Type 15)
The presence of this structure within the SMBIOS data returned for a system indicates that the system supports an event log. An event log is a fixed-length area within a non-volatile storage element, starting with a fixed-length (and vendor-specific) header record, followed by one or more variable-length log records.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations
impl<'a> SMBiosSystemEventLog<'a>
[src]
impl<'a> SMBiosSystemEventLog<'a>
[src]pub fn log_area_length(&self) -> Option<u16>
[src]
pub fn log_area_length(&self) -> Option<u16>
[src]Length, in bytes, of the overall event log area, from the first byte of header to the last byte of data
pub fn log_header_start_offset(&self) -> Option<u16>
[src]
pub fn log_header_start_offset(&self) -> Option<u16>
[src]Defines the starting offset (or index) within the nonvolatile storage of the event-log’s header, from the Access Method Address For single-byte indexed I/O accesses, the most-significant byte of the start offset is set to 00h.
pub fn log_data_start_offset(&self) -> Option<u16>
[src]
pub fn log_data_start_offset(&self) -> Option<u16>
[src]Defines the starting offset (or index) within the nonvolatile storage of the event-log’s first data byte, from the Access Method Address For single-byte indexed I/O accesses, the most-significant byte of the start offset is set to 00h.
NOTE: The data directly follows any header information. Therefore, the header length can be determined by subtracting the Header Start Offset from the Data Start Offset.
pub fn access_method(&self) -> Option<AccessMethodData>
[src]
pub fn access_method(&self) -> Option<AccessMethodData>
[src]Defines the Location and Method used by higher-level software to access the log area
pub fn log_status(&self) -> Option<LogStatus>
[src]
pub fn log_status(&self) -> Option<LogStatus>
[src]Current status of the system event-log
pub fn log_change_token(&self) -> Option<u32>
[src]
pub fn log_change_token(&self) -> Option<u32>
[src]Unique token that is reassigned every time the event log changes
Can be used to determine if additional events have occurred since the last time the log was read.
pub fn access_method_address(&self) -> Option<u32>
[src]
pub fn access_method_address(&self) -> Option<u32>
[src]Address associated with the access method
The data present depends on the Access Method field value
pub fn log_header_format(&self) -> Option<HeaderFormatData>
[src]
pub fn log_header_format(&self) -> Option<HeaderFormatData>
[src]Format of the log header area
pub fn number_of_supported_log_type_descriptors(&self) -> Option<u8>
[src]
pub fn number_of_supported_log_type_descriptors(&self) -> Option<u8>
[src]Number of supported event log type descriptors that follow
If the value is 0, the list that starts at offset 17h is not present.
pub fn length_of_each_log_type_descriptor(&self) -> Option<u8>
[src]
pub fn length_of_each_log_type_descriptor(&self) -> Option<u8>
[src]Number of bytes associated with each type entry in the list below The value is currently “hard-coded” as 2, because each entry consists of two bytes. This field’s presence allows future additions to the type list. Software that interprets the following list should not assume a list entry’s length.
pub fn type_descriptors(&self) -> Option<TypeDescriptors<'_>>
[src]
pub fn type_descriptors(&self) -> Option<TypeDescriptors<'_>>
[src]Type Descriptors
Trait Implementations
impl Debug for SMBiosSystemEventLog<'_>
[src]
impl Debug for SMBiosSystemEventLog<'_>
[src]impl<'a> SMBiosStruct<'a> for SMBiosSystemEventLog<'a>
[src]
impl<'a> SMBiosStruct<'a> for SMBiosSystemEventLog<'a>
[src]const STRUCT_TYPE: u8
[src]
const STRUCT_TYPE: u8
[src]The SMBIOS structure type Read more
fn new(parts: &'a UndefinedStruct) -> Self
[src]
fn new(parts: &'a UndefinedStruct) -> Self
[src]Creates a new instance of the implementing SMBIOS type
fn parts(&self) -> &'a UndefinedStruct
[src]
fn parts(&self) -> &'a UndefinedStruct
[src]Contains the standard parts/sections of the implementing SMBIOS type.
impl Serialize for SMBiosSystemEventLog<'_>
[src]
impl Serialize for SMBiosSystemEventLog<'_>
[src]