Struct smbioslib::MemoryErrorTypeData
source · [−]pub struct MemoryErrorTypeData {
pub raw: u8,
pub value: MemoryErrorType,
}
Expand description
Fields
raw: u8
Raw value
raw is most useful when value is None. This is most likely to occur when the standard was updated but this library code has not been updated to match the current standard.
value: MemoryErrorType
The contained MemoryErrorType value
Trait Implementations
sourceimpl Debug for MemoryErrorTypeData
impl Debug for MemoryErrorTypeData
sourceimpl Deref for MemoryErrorTypeData
impl Deref for MemoryErrorTypeData
type Target = MemoryErrorType
type Target = MemoryErrorType
The resulting type after dereferencing.
sourceimpl Display for MemoryErrorTypeData
impl Display for MemoryErrorTypeData
sourceimpl From<u8> for MemoryErrorTypeData
impl From<u8> for MemoryErrorTypeData
sourceimpl Serialize for MemoryErrorTypeData
impl Serialize for MemoryErrorTypeData
Auto Trait Implementations
impl RefUnwindSafe for MemoryErrorTypeData
impl Send for MemoryErrorTypeData
impl Sync for MemoryErrorTypeData
impl Unpin for MemoryErrorTypeData
impl UnwindSafe for MemoryErrorTypeData
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