Struct smbioslib::SMBiosMemoryArrayMappedAddress
source · [−]pub struct SMBiosMemoryArrayMappedAddress<'a> { /* private fields */ }
Expand description
Memory Array Mapped Address (Type 19)
This structure provides the address mapping for a Physical Memory Array.
One structure is present for each contiguous address range described.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations
sourceimpl<'a> SMBiosMemoryArrayMappedAddress<'a>
impl<'a> SMBiosMemoryArrayMappedAddress<'a>
sourcepub fn starting_address(&self) -> Option<u32>
pub fn starting_address(&self) -> Option<u32>
Physical address, in kilobytes, of a range of memory mapped to the specified Physical Memory Array When the field value is FFFF FFFFh, the actual address is stored in the Extended Starting Address field. When this field contains a valid address, Ending Address must also contain a valid address. When this field contains FFFF FFFFh, Ending Address must also contain FFFF FFFFh.
sourcepub fn ending_address(&self) -> Option<u32>
pub fn ending_address(&self) -> Option<u32>
Physical ending address of the last kilobyte of a range of addresses mapped to the specified Physical Memory Array When the field value is FFFF FFFFh and the Starting Address field also contains FFFF FFFFh, the actual address is stored in the Extended Ending Address field. When this field contains a valid address, Starting Address must also contain a valid address.
sourcepub fn physical_memory_array_handle(&self) -> Option<Handle>
pub fn physical_memory_array_handle(&self) -> Option<Handle>
Handle, or instance number, associated with the Physical Memory Array to which this address range is mapped Multiple address ranges can be mapped to a single Physical Memory Array.
sourcepub fn partition_width(&self) -> Option<u8>
pub fn partition_width(&self) -> Option<u8>
Number of Memory Devices that form a single row of memory for the address partition defined by this structure
sourcepub fn extended_starting_address(&self) -> Option<u64>
pub fn extended_starting_address(&self) -> Option<u64>
Physical address, in bytes, of a range of memory mapped to the specified Physical Memory Array This field is valid when Starting Address contains the value FFFF FFFFh. If Starting Address contains a value other than FFFF FFFFh, this field contains zeros. When this field contains a valid address, Extended Ending Address must also contain a valid address.
sourcepub fn extended_ending_address(&self) -> Option<u64>
pub fn extended_ending_address(&self) -> Option<u64>
Physical ending address, in bytes, of the last of a range of addresses mapped to the specified Physical Memory Array This field is valid when both Starting Address and Ending Address contain the value FFFF FFFFh. If Ending Address contains a value other than FFFF FFFFh, this field contains zeros. When this field contains a valid address, Extended Starting Address must also contain a valid address.
Trait Implementations
sourceimpl Debug for SMBiosMemoryArrayMappedAddress<'_>
impl Debug for SMBiosMemoryArrayMappedAddress<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosMemoryArrayMappedAddress<'a>
impl<'a> SMBiosStruct<'a> for SMBiosMemoryArrayMappedAddress<'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 SMBiosMemoryArrayMappedAddress<'_>
impl Serialize for SMBiosMemoryArrayMappedAddress<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosMemoryArrayMappedAddress<'a>
impl<'a> Send for SMBiosMemoryArrayMappedAddress<'a>
impl<'a> Sync for SMBiosMemoryArrayMappedAddress<'a>
impl<'a> Unpin for SMBiosMemoryArrayMappedAddress<'a>
impl<'a> UnwindSafe for SMBiosMemoryArrayMappedAddress<'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