Enum smbioslib::MemorySizeExtended [−][src]
pub enum MemorySizeExtended { Megabytes(u32), SeeSize, }
Expand description
Variants
Megabytes(u32)
Size of Memory (MB)
See the size field.
For compatibility with older SMBIOS parsers, memory devices smaller than (32 GB - 1 MB) should be represented using their size in the Size field, leaving the Extended Size field set to 0.
Trait Implementations
Bit 31 is reserved for future use and must be set to 0. Bits 30:0 represent the size of the memory device in megabytes.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MemorySizeExtended
impl Send for MemorySizeExtended
impl Sync for MemorySizeExtended
impl Unpin for MemorySizeExtended
impl UnwindSafe for MemorySizeExtended