Module merino_cache::redis::domain
source · [−]Expand description
Wrapper types for [merino-suggest_traits
] types so traits can be implemented
Structs
A wrapper around a Vec
of Suggestion
s that can be inserted into and retrieved
from a Redis DB.
Enums
The result from the Redis TTL
command, converting the two error codes (-1 and -2) into enum variants.
Constants
A byte string prepended to all cached data to avoid format problems. Cache entries with a different cache key will be treated as invalid.