Type Alias kvarn::comprash::FileCache

source ·
pub type FileCache = MokaCache<CompactString, Option<(OffsetDateTime, Bytes)>>;
Expand description

A MokaCache with appropriate type parameters for a file cache.

Aliased Type§

struct FileCache {
    pub cache: Cache<CompactString, Option<(OffsetDateTime, Bytes)>>,
    /* private fields */
}

Fields§

§cache: Cache<CompactString, Option<(OffsetDateTime, Bytes)>>

The inner cache, with direct access allowed. Please check the size of your item before inserting.