Expand description
Implementations of various replacement algorithms used when inserting into a full cache.
Re-exports§
pub use super::Capacity;pub use super::Replacement;pub use lru::*;
Modules§
- lru
- Least recently used (LRU) replacement policy implementation and traits for working with LRU timestamps.
Structs§
- Random
Replacement - Choose a random cache entry to replace.
- Round
Robin Replacement - Choose cache entries to replace in a round-robin order.