[−][src]Struct dmi::Smbios
Fields
anchor: [u8; 4]checksum: u8length: u8major_version: u8minor_version: u8max_structure_size: u16revision: u8formatted: [u8; 5]inter_anchor: [u8; 5]inter_checksum: u8table_length: u16table_address: u32structure_count: u16bcd_revision: u8Methods
impl Smbios[src]
Trait Implementations
impl Debug for Smbios[src]
impl Clone for Smbios[src]
fn clone(&self) -> Smbios[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Default for Smbios[src]
impl Plain for Smbios[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]
bytes: &mut [u8],
len: usize
) -> Result<&mut [Self], Error>
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.