[][src]Module associative_cache::replacement

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

RandomReplacement

Choose a random cache entry to replace.

RoundRobinReplacement

Choose cache entries to replace in a round-robin order.