Skip to main content

Module traits

Module traits 

Source
Expand description

The core Cache and KeyEncoder traits.

Structs§

DefaultKeyEncoder
A blanket implementation that formats {collection}:{id}.

Enums§

CacheError
Errors returned by cache operations.

Traits§

Cache
A generic byte-oriented cache.
KeyEncoder
Keys given to the byte-oriented Cache are &str, but concrete backends may need richer keys. KeyEncoder turns typed keys into canonical strings.