Enum smbioslib::MemorySpeedExtended
source · pub enum MemorySpeedExtended {
MTs(u32),
SeeSpeed,
}
Expand description
Variants§
MTs(u32)
Speed of memory in megatransfers per second (MT/s)
SeeSpeed
See the speed field.
For compatibility with older SMBIOS parsers, memory devices slower than 65,535 MT/s should represent their speed using the Speed and Configured Memory Speed fields, leaving the Extended Speed and Extended Configured Memory Speed fields set to 0.
Trait Implementations§
source§impl Debug for MemorySpeedExtended
impl Debug for MemorySpeedExtended
source§impl From<u32> for MemorySpeedExtended
impl From<u32> for MemorySpeedExtended
Bit 31 is reserved for future use and must be set to 0 Bits 30:0 represent the speed or configured memory speed of the device in MT/s.
source§impl PartialEq<MemorySpeedExtended> for MemorySpeedExtended
impl PartialEq<MemorySpeedExtended> for MemorySpeedExtended
source§fn eq(&self, other: &MemorySpeedExtended) -> bool
fn eq(&self, other: &MemorySpeedExtended) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MemorySpeedExtended
impl Serialize for MemorySpeedExtended
impl Eq for MemorySpeedExtended
impl StructuralEq for MemorySpeedExtended
impl StructuralPartialEq for MemorySpeedExtended
Auto Trait Implementations§
impl RefUnwindSafe for MemorySpeedExtended
impl Send for MemorySpeedExtended
impl Sync for MemorySpeedExtended
impl Unpin for MemorySpeedExtended
impl UnwindSafe for MemorySpeedExtended
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
Mutably borrows from an owned value. Read more