pub enum CacheKind {
L1Data,
L1Instruction,
L2Unified,
L3Unified,
Other,
}Expand description
Level of a cache in the memory hierarchy.
Variants§
L1Data
L1Instruction
L2Unified
L3Unified
Other
Anything else the kernel reports (L4/eDRAM, unified L1, …).
Trait Implementations§
impl Copy for CacheKind
Source§impl<'de> Deserialize<'de> for CacheKind
impl<'de> Deserialize<'de> for CacheKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CacheKind
Source§impl Ord for CacheKind
impl Ord for CacheKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CacheKind
impl PartialOrd for CacheKind
impl StructuralPartialEq for CacheKind
Auto Trait Implementations§
impl Freeze for CacheKind
impl RefUnwindSafe for CacheKind
impl Send for CacheKind
impl Sync for CacheKind
impl Unpin for CacheKind
impl UnsafeUnpin for CacheKind
impl UnwindSafe for CacheKind
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