[][src]Struct dmi::MemoryDevice

#[repr(packed)]
pub struct MemoryDevice {
    pub array_handle: u16,
    pub error_information_handle: u16,
    pub total_width: u16,
    pub data_width: u16,
    pub size: u16,
    pub form_factor: u8,
    pub device_set: u8,
    pub device_locator: u8,
    pub bank_locator: u8,
    pub memory_kind: u8,
    pub kind_detail: u16,
    pub speed: u16,
    pub manufacturer: u8,
    pub serial_number: u8,
    pub asset_tag: u8,
    pub part_number: u8,
    pub attributes: u8,
    pub extended_size: u32,
    pub configured_speed: u16,
    pub minimum_voltage: u16,
    pub maximum_voltage: u16,
    pub configured_voltage: u16,
}

Fields

array_handle: u16error_information_handle: u16total_width: u16data_width: u16size: u16form_factor: u8device_set: u8device_locator: u8bank_locator: u8memory_kind: u8kind_detail: u16speed: u16manufacturer: u8serial_number: u8asset_tag: u8part_number: u8attributes: u8extended_size: u32configured_speed: u16minimum_voltage: u16maximum_voltage: u16configured_voltage: u16

Trait Implementations

impl Debug for MemoryDevice[src]

impl Default for MemoryDevice[src]

impl Plain for MemoryDevice[src]

fn from_bytes(bytes: &[u8]) -> Result<&Self, Error>[src]

fn slice_from_bytes(bytes: &[u8]) -> Result<&[Self], Error>[src]

fn slice_from_bytes_len(bytes: &[u8], len: usize) -> Result<&[Self], Error>[src]

fn from_mut_bytes(bytes: &mut [u8]) -> Result<&mut Self, Error>[src]

fn slice_from_mut_bytes(bytes: &mut [u8]) -> Result<&mut [Self], Error>[src]

fn slice_from_mut_bytes_len(
    bytes: &mut [u8],
    len: usize
) -> Result<&mut [Self], Error>
[src]

fn copy_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]