Module forceps::evictors[][src]

Expand description

A collection of Cache eviction algorithms and generics

This module contains the Evictor trait, which is used to signify a structure or enum that is used to evict items out of a cache, as well as some implementations of that trait.

Structs

FifoEvictor

First-in-first-out eviction algorithm for a Cache

LruEvictor

Least Recently Used eviction algorithm for a Cache

Traits

Evictor

A trait that represents a structure or enum that can evict items out of a Cache instance.