pub enum DiscardStrategy {
MustBeEvicted,
CanDecide,
}
Variants§
MustBeEvicted
The page must be evicted from the cache
CanDecide
Page may be discarded or retained at the discretion of page cache implementation
Auto Trait Implementations§
impl Freeze for DiscardStrategy
impl RefUnwindSafe for DiscardStrategy
impl Send for DiscardStrategy
impl Sync for DiscardStrategy
impl Unpin for DiscardStrategy
impl UnwindSafe for DiscardStrategy
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