#[repr(u8)]pub enum CacheAccess {
NoAccess = 0,
Read = 1,
Write = 2,
NoAccessAlt = 3,
}Variants§
NoAccess = 0
Read = 1
Copy the selected line’s tag, valid bit, and data into FCTG and FCLN0-3.
Write = 2
Update the selected line from FCTG and FCLN0-3.
NoAccessAlt = 3
Implementations§
Source§impl CacheAccess
impl CacheAccess
Trait Implementations§
Source§impl Clone for CacheAccess
impl Clone for CacheAccess
Source§fn clone(&self) -> CacheAccess
fn clone(&self) -> CacheAccess
Returns a duplicate 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 CacheAccess
impl Debug for CacheAccess
Source§impl From<CacheAccess> for u8
impl From<CacheAccess> for u8
Source§fn from(val: CacheAccess) -> u8
fn from(val: CacheAccess) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CacheAccess
impl From<u8> for CacheAccess
Source§fn from(val: u8) -> CacheAccess
fn from(val: u8) -> CacheAccess
Converts to this type from the input type.
Source§impl Ord for CacheAccess
impl Ord for CacheAccess
Source§fn cmp(&self, other: &CacheAccess) -> Ordering
fn cmp(&self, other: &CacheAccess) -> Ordering
1.21.0 · 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
Source§impl PartialEq for CacheAccess
impl PartialEq for CacheAccess
Source§impl PartialOrd for CacheAccess
impl PartialOrd for CacheAccess
impl Copy for CacheAccess
impl Eq for CacheAccess
impl StructuralPartialEq for CacheAccess
Auto Trait Implementations§
impl Freeze for CacheAccess
impl RefUnwindSafe for CacheAccess
impl Send for CacheAccess
impl Sync for CacheAccess
impl Unpin for CacheAccess
impl UnwindSafe for CacheAccess
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