Struct simple_disk_cache::config::CacheConfig [] [src]

pub struct CacheConfig {
    pub max_bytes: u64,
    pub encoding: DataEncoding,
    pub strategy: CacheStrategy,
    pub subdirs_per_level: u32,
}

General configuration of the cache functionality.

Fields

Maximum size of the cache in bytes.

Encoding format of the data files.

Strategy of the cache used.

Number of subdirectories per level. (There are two levels.)

Trait Implementations

impl Clone for CacheConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CacheConfig
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for CacheConfig

impl Sync for CacheConfig