pub enum PrunePolicy {
Oldest,
Forks,
}Variants§
Oldest
Every entry the newest render neither stored nor read.
Forks
Every entry whose node fewer than two nodes read.
Implementations§
Source§impl PrunePolicy
impl PrunePolicy
Trait Implementations§
Source§impl Clone for PrunePolicy
impl Clone for PrunePolicy
impl Copy for PrunePolicy
Source§impl Debug for PrunePolicy
impl Debug for PrunePolicy
Source§impl Default for PrunePolicy
impl Default for PrunePolicy
impl Eq for PrunePolicy
Source§impl PartialEq for PrunePolicy
impl PartialEq for PrunePolicy
impl StructuralPartialEq for PrunePolicy
Auto Trait Implementations§
impl Freeze for PrunePolicy
impl RefUnwindSafe for PrunePolicy
impl Send for PrunePolicy
impl Sync for PrunePolicy
impl Unpin for PrunePolicy
impl UnsafeUnpin for PrunePolicy
impl UnwindSafe for PrunePolicy
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