pub struct CacheConfiguaration {
pub raw: u16,
}
Expand description
§System Cache Configuration
Fields§
§raw: u16
Raw value
Implementations§
Source§impl 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§
Source§impl Debug for CacheConfiguaration
impl Debug for CacheConfiguaration
Source§impl Deref for CacheConfiguaration
impl Deref for CacheConfiguaration
Source§impl From<u16> for CacheConfiguaration
impl From<u16> for CacheConfiguaration
Source§impl PartialEq for CacheConfiguaration
impl PartialEq for CacheConfiguaration
Source§impl Serialize for CacheConfiguaration
impl Serialize for CacheConfiguaration
impl Eq for CacheConfiguaration
impl StructuralPartialEq for CacheConfiguaration
Auto Trait Implementations§
impl Freeze for CacheConfiguaration
impl RefUnwindSafe for CacheConfiguaration
impl Send for CacheConfiguaration
impl Sync for CacheConfiguaration
impl Unpin for CacheConfiguaration
impl UnwindSafe for CacheConfiguaration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more