Struct smbioslib::SMBiosMemoryErrorInformation32
source · [−]pub struct SMBiosMemoryErrorInformation32<'a> { /* private fields */ }
Expand description
32-Bit Memory Error Information (Type 18)
This structure identifies the specifics of an error that might be detected within a super::SMBiosPhysicalMemoryArray.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations
sourceimpl<'a> SMBiosMemoryErrorInformation32<'a>
impl<'a> SMBiosMemoryErrorInformation32<'a>
sourcepub fn error_type(&self) -> Option<MemoryErrorTypeData>
pub fn error_type(&self) -> Option<MemoryErrorTypeData>
Type of error that is associated with the current status reported for the memory array or device
sourcepub fn error_granularity(&self) -> Option<MemoryErrorGranularityData>
pub fn error_granularity(&self) -> Option<MemoryErrorGranularityData>
Granularity (for example, device versus Partition) to which the error can be resolved
sourcepub fn error_operation(&self) -> Option<MemoryErrorOperationData>
pub fn error_operation(&self) -> Option<MemoryErrorOperationData>
Memory access operation that caused the error
sourcepub fn vendor_syndrome(&self) -> Option<u32>
pub fn vendor_syndrome(&self) -> Option<u32>
Vendor-specific ECC syndrome or CRC data associated with the erroneous access If the value is unknown, this field contains 0000 0000h.
sourcepub fn memory_array_error_address(&self) -> Option<u32>
pub fn memory_array_error_address(&self) -> Option<u32>
32-bit physical address of the error based on the addressing of the bus to which the memory array is connected If the address is unknown, this field contains 8000 0000h.
sourcepub fn device_error_address(&self) -> Option<u32>
pub fn device_error_address(&self) -> Option<u32>
32-bit physical address of the error relative to the start of the failing memory device, in bytes If the address is unknown, this field contains 8000 0000h.
sourcepub fn error_resolution(&self) -> Option<u32>
pub fn error_resolution(&self) -> Option<u32>
Range, in bytes, within which the error can be determined, when an error address is given If the range is unknown, this field contains 8000 0000h.
Trait Implementations
sourceimpl Debug for SMBiosMemoryErrorInformation32<'_>
impl Debug for SMBiosMemoryErrorInformation32<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosMemoryErrorInformation32<'a>
impl<'a> SMBiosStruct<'a> for SMBiosMemoryErrorInformation32<'a>
sourceconst STRUCT_TYPE: u8
const STRUCT_TYPE: u8
The SMBIOS structure type Read more
sourcefn new(parts: &'a UndefinedStruct) -> Self
fn new(parts: &'a UndefinedStruct) -> Self
Creates a new instance of the implementing SMBIOS type
sourcefn parts(&self) -> &'a UndefinedStruct
fn parts(&self) -> &'a UndefinedStruct
Contains the standard parts/sections of the implementing SMBIOS type.
sourceimpl Serialize for SMBiosMemoryErrorInformation32<'_>
impl Serialize for SMBiosMemoryErrorInformation32<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosMemoryErrorInformation32<'a>
impl<'a> Send for SMBiosMemoryErrorInformation32<'a>
impl<'a> Sync for SMBiosMemoryErrorInformation32<'a>
impl<'a> Unpin for SMBiosMemoryErrorInformation32<'a>
impl<'a> UnwindSafe for SMBiosMemoryErrorInformation32<'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