pub struct SMBiosPhysicalMemoryArray<'a> { /* private fields */ }
Expand description
§Physical Memory Array (Type 16)
This structure describes a collection of memory devices that operate together to form a memory address space.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations§
Source§impl<'a> SMBiosPhysicalMemoryArray<'a>
impl<'a> SMBiosPhysicalMemoryArray<'a>
Sourcepub fn location(&self) -> Option<MemoryArrayLocationData>
pub fn location(&self) -> Option<MemoryArrayLocationData>
Physical location of the Memory Array, whether on the system board or an add-in board
Sourcepub fn usage(&self) -> Option<MemoryArrayUseData>
pub fn usage(&self) -> Option<MemoryArrayUseData>
Function for which the array is used
Sourcepub fn memory_error_correction(&self) -> Option<MemoryArrayErrorCorrectionData>
pub fn memory_error_correction(&self) -> Option<MemoryArrayErrorCorrectionData>
Primary hardware error correction or detection method supported by this memory array
Sourcepub fn maximum_capacity(&self) -> Option<MaximumMemoryCapacity>
pub fn maximum_capacity(&self) -> Option<MaximumMemoryCapacity>
Maximum memory capacity, in kilobytes, for this array
If the capacity is not represented in this field, then the ‘extended_maximum_capacity’ field should be used.
Values 2 TB (8000 0000h) or greater must be represented in the Extended Maximum Capacity field.
Sourcepub fn memory_error_information_handle(&self) -> Option<Handle>
pub fn memory_error_information_handle(&self) -> Option<Handle>
Handle, or instance number, associated with any error that was previously detected for the array
If the system does not provide the error information structure, the field contains FFFEh; otherwise, the field contains either FFFFh (if no error was detected) or the handle of the errorinformation structure.
Sourcepub fn number_of_memory_devices(&self) -> Option<u16>
pub fn number_of_memory_devices(&self) -> Option<u16>
Number of slots or sockets available for super::SMBiosMemoryDevices in this array
This value represents the number of super::SMBiosMemoryDevice structures that compose this Memory Array. Each super::SMBiosMemoryDevice has a reference to the “owning” Memory Array.
Sourcepub fn extended_maximum_capacity(&self) -> Option<u64>
pub fn extended_maximum_capacity(&self) -> Option<u64>
Maximum memory capacity, in bytes, for this array
This field is only valid when the Maximum Capacity field contains 8000 0000h. When Maximum Capacity contains a value that is not 8000 0000h, Extended Maximum Capacity must contain zeros.