Struct smbioslib::CacheConfiguaration
source · [−]pub struct CacheConfiguaration {
pub raw: u16,
}
Expand description
Fields
raw: u16
Raw value
Implementations
sourceimpl CacheConfiguaration
impl CacheConfiguaration
sourcepub fn cache_level(&self) -> u8
pub fn cache_level(&self) -> u8
Cache Level (1 through 8)
sourcepub fn cache_socketed(&self) -> bool
pub fn cache_socketed(&self) -> bool
Cache Socketed (e.g. Cache on a Stick)
true - socketed false - non-socketed
sourcepub fn location(&self) -> CacheLocation
pub fn location(&self) -> CacheLocation
Cache Location (relative to the CPU module)
sourcepub fn enabled_at_boot(&self) -> bool
pub fn enabled_at_boot(&self) -> bool
Cache Enabled (at boot time)
sourcepub fn operational_mode(&self) -> CacheOperationalMode
pub fn operational_mode(&self) -> CacheOperationalMode
Cache Operational Mode
Trait Implementations
sourceimpl Debug for CacheConfiguaration
impl Debug for CacheConfiguaration
sourceimpl Deref for CacheConfiguaration
impl Deref for CacheConfiguaration
sourceimpl From<u16> for CacheConfiguaration
impl From<u16> for CacheConfiguaration
sourceimpl PartialEq<CacheConfiguaration> for CacheConfiguaration
impl PartialEq<CacheConfiguaration> for CacheConfiguaration
sourcefn eq(&self, other: &CacheConfiguaration) -> bool
fn eq(&self, other: &CacheConfiguaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CacheConfiguaration) -> bool
fn ne(&self, other: &CacheConfiguaration) -> bool
This method tests for !=
.
sourceimpl Serialize for CacheConfiguaration
impl Serialize for CacheConfiguaration
impl Eq for CacheConfiguaration
impl StructuralEq for CacheConfiguaration
impl StructuralPartialEq for CacheConfiguaration
Auto Trait Implementations
impl RefUnwindSafe for CacheConfiguaration
impl Send for CacheConfiguaration
impl Sync for CacheConfiguaration
impl Unpin for CacheConfiguaration
impl UnwindSafe for CacheConfiguaration
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