Struct smbioslib::SMBiosUnknown
source · [−]pub struct SMBiosUnknown<'a> { /* private fields */ }
Expand description
OEM or Unknown Structure
Types 0 through 127 (7Fh) are reserved for and defined by the DMTF SMBIOS specification. Types 128 through 256 (80h to FFh) are available for system- and OEM-specific information.
When a structure has a type which is not defined or its type is an OEM type in the 80h to FFh range, this structure is used to represent the type.
Implementations
sourceimpl<'a> SMBiosUnknown<'a>
impl<'a> SMBiosUnknown<'a>
sourcepub fn new(parts: &'a UndefinedStruct) -> Self
pub fn new(parts: &'a UndefinedStruct) -> Self
Creates an instance of this struct
sourcepub fn parts(&self) -> &'a UndefinedStruct
pub fn parts(&self) -> &'a UndefinedStruct
Structure parts of this unknown structure
Use this to inspect the structure in more detail.
Trait Implementations
sourceimpl Debug for SMBiosUnknown<'_>
impl Debug for SMBiosUnknown<'_>
sourceimpl Serialize for SMBiosUnknown<'_>
impl Serialize for SMBiosUnknown<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosUnknown<'a>
impl<'a> Send for SMBiosUnknown<'a>
impl<'a> Sync for SMBiosUnknown<'a>
impl<'a> Unpin for SMBiosUnknown<'a>
impl<'a> UnwindSafe for SMBiosUnknown<'a>
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