Module ccache::hashmap::user[][src]

user-reimplementable types for the hashmap

Structs

Entry

current implementation of our hashmap entries

ZeroMeta

The simplest of implementation for metadata: No metadata, don’t take up space and don’t do anything

Traits

Cid

The Cache-Id, which will tell to which cache an element belongs to

EntryT

Trait to reimplement for the hashmap Entry

Hash

Standard Hash type, plus Sized, Clone, Eq, Default

Meta

The trait UserMeta defines operations that will be run on certain operations of the LRU

Val

The actual value in the hashmap: Sized and Default