Crate moka_cache

Crate moka_cache 

Source

Structs§

CacheExpiry

Enums§

Expiration
RemovalCause
Indicates the reason why a cached entry was removed.

Traits§

Decode
Trait that makes a type able to be decoded, akin to serde’s DeserializeOwned trait.
Encode
Any source that can be encoded. This trait should be implemented for all types that you want to be able to use with any of the encode_with methods.

Functions§

check_exp_interval
contains_key
get
get_exp
insert
refresh
remove
setup

Type Aliases§

CacheData

Derive Macros§

Decode
Encode