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
sourceimpl Debug for MemorySpeedExtended
impl Debug for MemorySpeedExtended
sourceimpl 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.
sourceimpl PartialEq<MemorySpeedExtended> for MemorySpeedExtended
impl PartialEq<MemorySpeedExtended> for MemorySpeedExtended
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &MemorySpeedExtended) -> bool
fn ne(&self, other: &MemorySpeedExtended) -> bool
This method tests for !=
.
sourceimpl 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
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