pub struct DiskDataCacheConfig {
pub cache_directory: PathBuf,
pub block_size: u64,
pub limit: CacheLimit,
}Expand description
Configuration for a DiskDataCache.
Fields§
§cache_directory: PathBuf§block_size: u64Size of data blocks.
limit: CacheLimitHow to limit the cache size.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiskDataCacheConfig
impl RefUnwindSafe for DiskDataCacheConfig
impl Send for DiskDataCacheConfig
impl Sync for DiskDataCacheConfig
impl Unpin for DiskDataCacheConfig
impl UnwindSafe for DiskDataCacheConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more