Enum dmidecode::structures::cache::SystemCacheType
source · pub enum SystemCacheType {
Other,
Unknown,
Instruction,
Data,
Unified,
Undefined(u8),
}Expand description
The cache type for a cache level (L1, L2, L3, …) is type 03h (Instruction) when all the caches at that level are Instruction caches. The cache type for a specific cache level (L1, L2, L3, …) is type 04h (Data) when all the caches at that level are Data caches. The cache type for a cache level (L1, L2, L3, …) is type 05h (Unified) when the caches at that level are a mix of Instruction and Data caches.
Variants§
Trait Implementations§
source§impl Clone for SystemCacheType
impl Clone for SystemCacheType
source§fn clone(&self) -> SystemCacheType
fn clone(&self) -> SystemCacheType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SystemCacheType
impl Debug for SystemCacheType
source§impl Display for SystemCacheType
impl Display for SystemCacheType
source§impl From<u8> for SystemCacheType
impl From<u8> for SystemCacheType
source§fn from(byte: u8) -> SystemCacheType
fn from(byte: u8) -> SystemCacheType
Converts to this type from the input type.
source§impl Hash for SystemCacheType
impl Hash for SystemCacheType
source§impl PartialEq for SystemCacheType
impl PartialEq for SystemCacheType
source§fn eq(&self, other: &SystemCacheType) -> bool
fn eq(&self, other: &SystemCacheType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SystemCacheType
impl Eq for SystemCacheType
impl StructuralEq for SystemCacheType
impl StructuralPartialEq for SystemCacheType
Auto Trait Implementations§
impl RefUnwindSafe for SystemCacheType
impl Send for SystemCacheType
impl Sync for SystemCacheType
impl Unpin for SystemCacheType
impl UnwindSafe for SystemCacheType
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