Struct smbioslib::MemoryErrorGranularityData
source · [−]pub struct MemoryErrorGranularityData {
pub raw: u8,
pub value: MemoryErrorGranularity,
}
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: MemoryErrorGranularity
The contained MemoryErrorGranularity value
Trait Implementations
sourceimpl Debug for MemoryErrorGranularityData
impl Debug for MemoryErrorGranularityData
sourceimpl Deref for MemoryErrorGranularityData
impl Deref for MemoryErrorGranularityData
type Target = MemoryErrorGranularity
type Target = MemoryErrorGranularity
The resulting type after dereferencing.
sourceimpl From<u8> for MemoryErrorGranularityData
impl From<u8> for MemoryErrorGranularityData
Auto Trait Implementations
impl RefUnwindSafe for MemoryErrorGranularityData
impl Send for MemoryErrorGranularityData
impl Sync for MemoryErrorGranularityData
impl Unpin for MemoryErrorGranularityData
impl UnwindSafe for MemoryErrorGranularityData
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