Enum smbioslib::MemorySize [−][src]
Variants
No Memory Device Installed in the Socket
Memory Size is Unknown
The actual size is stored in the Extended Size field
Kilobytes(u16)
Size of Memory (KB)
Megabytes(u16)
Size of Memory (MB)
Trait Implementations
impl Debug for MemorySize
[src]
impl Eq for MemorySize
[src]
impl From<u16> for MemorySize
[src]
If the value is 0, no memory device is installed in the socket; if the size is unknown, the field value is FFFFh. If the size is 32 GB-1 MB or greater, the field value is 7FFFh and the actual size is stored in the Extended Size field. The granularity in which the value is specified depends on the setting of the most-significant bit (bit 15). If the bit is 0, the value is specified in megabyte units; if the bit is 1, the value is specified in kilobyte units. For example, the value 8100h identifies a 256 KB memory device and 0100h identifies a 256 MB memory device.
impl PartialEq<MemorySize> for MemorySize
[src]
fn eq(&self, other: &MemorySize) -> bool
[src]
fn ne(&self, other: &MemorySize) -> bool
[src]
impl StructuralEq for MemorySize
[src]
impl StructuralPartialEq for MemorySize
[src]
Auto Trait Implementations
impl RefUnwindSafe for MemorySize
impl Send for MemorySize
impl Sync for MemorySize
impl Unpin for MemorySize
impl UnwindSafe for MemorySize
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,