#[repr(u8)]pub enum AmdL2L3Associativity {
Show 15 variants
Disabled = 0,
DirectMapped = 1,
Ways2 = 2,
Ways3 = 3,
Ways4 = 4,
Ways6 = 5,
Ways8 = 6,
Ways16 = 8,
SeeLeaf0x8000001d = 9,
Ways32 = 10,
Ways48 = 11,
Ways64 = 12,
Ways96 = 13,
Ways128 = 14,
FullyAssociative = 15,
}Expand description
Associativity encoding for L2 and L3 cache information leaves.
Variants§
Disabled = 0
DirectMapped = 1
Ways2 = 2
Ways3 = 3
Ways4 = 4
Ways6 = 5
Ways8 = 6
Ways16 = 8
SeeLeaf0x8000001d = 9
Ways32 = 10
Ways48 = 11
Ways64 = 12
Ways96 = 13
Ways128 = 14
FullyAssociative = 15
Implementations§
Source§impl AmdL2L3Associativity
impl AmdL2L3Associativity
Sourcepub fn ways_of_associativity(&self) -> usize
pub fn ways_of_associativity(&self) -> usize
Indeterminate if zero.
Sourcepub fn fully_associative(&self) -> Option<bool>
pub fn fully_associative(&self) -> Option<bool>
Indeterminate if std::nullopt.
Trait Implementations§
Source§impl Clone for AmdL2L3Associativity
impl Clone for AmdL2L3Associativity
Source§fn clone(&self) -> AmdL2L3Associativity
fn clone(&self) -> AmdL2L3Associativity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AmdL2L3Associativity
Source§impl Debug for AmdL2L3Associativity
impl Debug for AmdL2L3Associativity
impl Eq for AmdL2L3Associativity
impl Immutable for AmdL2L3Associativity
Source§impl IntoBytes for AmdL2L3Associativitywhere
(): PaddingFree<Self, { _ }>,
impl IntoBytes for AmdL2L3Associativitywhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for AmdL2L3Associativity
impl PartialEq for AmdL2L3Associativity
impl StructuralPartialEq for AmdL2L3Associativity
Source§impl TryFromBytes for AmdL2L3Associativity
impl TryFromBytes for AmdL2L3Associativity
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for AmdL2L3Associativity
impl RefUnwindSafe for AmdL2L3Associativity
impl Send for AmdL2L3Associativity
impl Sync for AmdL2L3Associativity
impl Unpin for AmdL2L3Associativity
impl UnsafeUnpin for AmdL2L3Associativity
impl UnwindSafe for AmdL2L3Associativity
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)