pub struct MemoryDevice {Show 39 fields
pub physical_memory_array_handle: Option<Handle>,
pub memory_error_information_handle: Option<Handle>,
pub total_width: Option<u16>,
pub data_width: Option<u16>,
pub size: Option<MemorySize>,
pub form_factor: Option<MemoryFormFactorData>,
pub device_set: Option<u8>,
pub device_locator: Option<String>,
pub bank_locator: Option<String>,
pub memory_type: Option<MemoryDeviceTypeData>,
pub type_detail: Option<MemoryTypeDetails>,
pub speed: Option<MemorySpeed>,
pub manufacturer: Option<String>,
pub serial_number: Option<String>,
pub asset_tag: Option<String>,
pub part_number: Option<String>,
pub attributes: Option<u8>,
pub extended_size: Option<MemorySizeExtended>,
pub configured_memory_speed: Option<MemorySpeed>,
pub minimum_voltage: Option<u16>,
pub maximum_voltage: Option<u16>,
pub configured_voltage: Option<u16>,
pub memory_technology: Option<MemoryDeviceTechnologyData>,
pub memory_operating_mode_capability: Option<MemoryOperatingModeCapabilities>,
pub firmware_version: Option<String>,
pub module_manufacturer_id: Option<u16>,
pub module_product_id: Option<u16>,
pub memory_subsystem_controller_manufacturer_id: Option<u16>,
pub memory_subsystem_controller_product_id: Option<u16>,
pub non_volatile_size: Option<MemoryIndicatedSize>,
pub volatile_size: Option<MemoryIndicatedSize>,
pub cache_size: Option<MemoryIndicatedSize>,
pub logical_size: Option<MemoryIndicatedSize>,
pub extended_speed: Option<MemorySpeedExtended>,
pub extended_configured_speed: Option<MemorySpeedExtended>,
pub pmic0_manufacturer_id: Option<u16>,
pub pmic0_revision_number: Option<u16>,
pub rcd_manufacturer_id: Option<u16>,
pub rcd_revision_number: Option<u16>,
}Expand description
Information about single memory device
Fields§
§physical_memory_array_handle: Option<Handle>Handle or instance number, associated with the physical memory array to which this device belongs
memory_error_information_handle: Option<Handle>Handle or instance number, associated with any error that was previously detected for the device. If the system does not provide the error information structure, the field containes FFFEH
total_width: Option<u16>Total width, in bits, of this memory device, including any check or error-correction bits
data_width: Option<u16>Data width, in bits, of this memory device
size: Option<MemorySize>Size of memory device
form_factor: Option<MemoryFormFactorData>Form factor for this memory device
device_set: Option<u8>Identifies when the Memory Device is one of a set of Memory Devices that must be populated with all devices of the same type and size, and the set to which this device belongs A value of 0 indicates that the device is not part of a set; a value of FFh indicates that the attribute is unknown
device_locator: Option<String>Physically-labeled socket or board position where the memory device is located
bank_locator: Option<String>Physically-labeled bank where the memory device is located
memory_type: Option<MemoryDeviceTypeData>Type of memory used in this device
type_detail: Option<MemoryTypeDetails>Additional detail on the memory device type
speed: Option<MemorySpeed>The maximum capable speed of the device (MT/s)
manufacturer: Option<String>Manufacturer of this memory device
serial_number: Option<String>Serial number of this memory device
asset_tag: Option<String>Asset tag of this memory device
part_number: Option<String>Part number of this memory device
attributes: Option<u8>Bits 7-4: reserved Bits 3-0: rank Value=0 for unknown rank information
extended_size: Option<MemorySizeExtended>Extended suze of the memory device in MB
configured_memory_speed: Option<MemorySpeed>Configured speed of the memory device, in megatransfers per second (MT/s)
minimum_voltage: Option<u16>Minimum operating voltage for this device, in millivolts
maximum_voltage: Option<u16>Maximum operating voltage for this device, in millivolts
configured_voltage: Option<u16>Configured voltage for this device, in millivolts
memory_technology: Option<MemoryDeviceTechnologyData>Memory technology type for this memory device
memory_operating_mode_capability: Option<MemoryOperatingModeCapabilities>The operating modes supported by this memory device
firmware_version: Option<String>Firmware version of this memory device
module_manufacturer_id: Option<u16>Two-byte module manufacturer ID found in the SPD of this memory device; LSB first
module_product_id: Option<u16>Two-byte module product id found in the SPD of this memory device; LSB first
memory_subsystem_controller_manufacturer_id: Option<u16>Two-byte memory subsystem controller manufacturer ID found in the SPD of this memory device; LSB first
memory_subsystem_controller_product_id: Option<u16>Two-byte memory subsystem controller product ID found in the SPD of this memory device; LSB first
non_volatile_size: Option<MemoryIndicatedSize>Size of the Non-volatile portion of the memory device in Bytes, if any
volatile_size: Option<MemoryIndicatedSize>Size of the Volatile portion of the memory device in Bytes, if any
cache_size: Option<MemoryIndicatedSize>Size of the Cache portion of the memory device in Bytes, if any
logical_size: Option<MemoryIndicatedSize>Size of the Logical memory device in Bytes
extended_speed: Option<MemorySpeedExtended>Extended speed of the memory device (complements the Speed field at offset 15h). Identifies the maximum capable speed of the device, in MT/s
extended_configured_speed: Option<MemorySpeedExtended>Extended configured memory speed of the memory device
(complements the configure_memory_speed field at offset
20h). Identifies the configured speed of the memory device,
in MT/s
pmic0_manufacturer_id: Option<u16>Two-byte PMIC0 manufacturer ID found in the SPD of this memory device; LSB first
pmic0_revision_number: Option<u16>PMIC 0 Revision Number found in the SPD of this memory device
rcd_manufacturer_id: Option<u16>Two-byte RCD manufacturer ID found in the SPD of this memory device; LSB first
rcd_revision_number: Option<u16>RCD 0 Revision Number found in the SPD of this memory device
Trait Implementations§
Source§impl Debug for MemoryDevice
impl Debug for MemoryDevice
Source§impl<'a> From<SMBiosMemoryDevice<'a>> for MemoryDevice
impl<'a> From<SMBiosMemoryDevice<'a>> for MemoryDevice
Source§fn from(value: SMBiosMemoryDevice<'_>) -> Self
fn from(value: SMBiosMemoryDevice<'_>) -> Self
Source§impl Serialize for MemoryDevice
impl Serialize for MemoryDevice
Auto Trait Implementations§
impl Freeze for MemoryDevice
impl RefUnwindSafe for MemoryDevice
impl Send for MemoryDevice
impl Sync for MemoryDevice
impl Unpin for MemoryDevice
impl UnwindSafe for MemoryDevice
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more