Struct smbioslib::SMBiosSystemEventLog [−][src]
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]
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]
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]
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]
Defines the Location and Method used by higher-level software to access the log area
pub fn log_status(&self) -> Option<LogStatus>
[src]
Current status of the system event-log
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]
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]
Format of the log header area
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]
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]
Type Descriptors
Trait Implementations
impl Debug for SMBiosSystemEventLog<'_>
[src]
impl<'a> SMBiosStruct<'a> for SMBiosSystemEventLog<'a>
[src]
const STRUCT_TYPE: u8
[src]
fn new(parts: &'a UndefinedStruct) -> Self
[src]
fn parts(&self) -> &'a UndefinedStruct
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosSystemEventLog<'a>
impl<'a> Send for SMBiosSystemEventLog<'a>
impl<'a> Sync for SMBiosSystemEventLog<'a>
impl<'a> Unpin for SMBiosSystemEventLog<'a>
impl<'a> UnwindSafe for SMBiosSystemEventLog<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,