pub enum ReadMode {
Direct,
Refill,
}Expand description
Mode for cache read operations.
Controls post-read behavior, particularly for composition backends where data read from one layer may need to be written to another.
Variants§
Direct
Direct read - return value without side effects.
Refill
Refill mode - write value back to source layer after reading.
Used in composition backends to populate L1 with data read from L2.
Trait Implementations§
impl Copy for ReadMode
impl Eq for ReadMode
impl StructuralPartialEq for ReadMode
Auto Trait Implementations§
impl Freeze for ReadMode
impl RefUnwindSafe for ReadMode
impl Send for ReadMode
impl Sync for ReadMode
impl Unpin for ReadMode
impl UnwindSafe for ReadMode
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