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
max_bytes: u64
Maximum size of the cache in bytes.
encoding: DataEncoding
Encoding format of the data files.
strategy: CacheStrategy
Strategy of the cache used.
subdirs_per_level: u32
Number of subdirectories per level. (There are two levels.)
Trait Implementations
impl Clone for CacheConfig
[src]
fn clone(&self) -> CacheConfig
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more