[go: up one dir, main page]

Module stores

Module stores 

Source

Structs§

AsyncRedisCacheasync and redis_store and (redis_async_std or redis_tokio)
Cache store backed by redis
AsyncRedisCacheBuilderasync and redis_store and (redis_async_std or redis_tokio)
DiskCachedisk_store
Cache store backed by disk
DiskCacheBuilderdisk_store
ExpiringSizedCache
A cache enforcing time expiration and an optional maximum size. When a maximum size is specified, the values are dropped in the order of expiration date, e.g. the next value to expire is dropped. This cache is intended for high read scenarios to allow for concurrent reads while still enforcing expiration and an optional maximum cache size.
ExpiringValueCache
Expiring Value Cache
RedisCacheredis_store
Cache store backed by redis
RedisCacheBuilderredis_store
SizedCache
Least Recently Used / Sized Cache
TimedCache
Cache store bound by time
TimedSizedCache
Timed LRU Cache
UnboundCache
Default unbounded cache

Enums§

DiskCacheBuildErrordisk_store
DiskCacheErrordisk_store
RedisCacheBuildErrorredis_store
RedisCacheErrorredis_store

Traits§

CanExpire
The CanExpire trait defines a function for implementations to determine if the value has expired.