pub enum NullCacheOp {
Clean(usize, usize),
Invalidate(usize, usize),
CleanInvalidate(usize, usize),
Barrier,
}Expand description
Recorded operation kind for NullCache assertions.
Variants§
Clean(usize, usize)
clean(addr, len) was called.
Invalidate(usize, usize)
invalidate(addr, len) was called.
CleanInvalidate(usize, usize)
clean_invalidate(addr, len) was called.
Barrier
barrier() was called.
Trait Implementations§
Source§impl Clone for NullCacheOp
impl Clone for NullCacheOp
Source§fn clone(&self) -> NullCacheOp
fn clone(&self) -> NullCacheOp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NullCacheOp
Source§impl Debug for NullCacheOp
impl Debug for NullCacheOp
impl Eq for NullCacheOp
Source§impl PartialEq for NullCacheOp
impl PartialEq for NullCacheOp
Source§fn eq(&self, other: &NullCacheOp) -> bool
fn eq(&self, other: &NullCacheOp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NullCacheOp
Auto Trait Implementations§
impl Freeze for NullCacheOp
impl RefUnwindSafe for NullCacheOp
impl Send for NullCacheOp
impl Sync for NullCacheOp
impl Unpin for NullCacheOp
impl UnsafeUnpin for NullCacheOp
impl UnwindSafe for NullCacheOp
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