Module opts

Module opts 

Source

Structs§

CacheOpenOptions
DirCacheOpts
Options for controlling the behavior of operations on a DirCache. See the specific options for more details
GenerationOpt
Data can be saved as generations (keeping older values of keys), these options determine how those generations are managed

Enums§

DirOpenOpt
Options for when a DirCache is opened
Encoding
Different encoding options
ExpirationOpt
Expiration options, how to determine if an entry has expired
MemPullOpt
Memory pull options, determines whether data should be cached in memory when pulled from disk, such as during a get operation.
MemPushOpt
Memory push option, determines whether the data should be retained in memory when written to disk
SyncOpt
Options controlling syncing, ensuring that the DirCache’s state kept in memory is committed to disk. Unnecessary if all keys are not written with MemPushOpt::MemoryOnly