/// Create a new instance of `DummmyCacheMgr`.
Create a new instance of `DummmyCacheMgr`.
Create a new instance of ` DummmyCacheMgr ` .
pub fn new(
        config: CacheConfig,
        backend: Arc<dyn BlobBackend>,
        cached: bool,
        enable_prefetch: bool,
    ) -> Result<DummyCacheMgr> {
        Ok(DummyCacheMgr {
            backend,
            cached,
            validate: config.cache_validate,
            prefetch: enable_prefetch,
        })
    }
pub fn new ( config : CacheConfig , backend : Arc < dyn BlobBackend > , cached : bool , enable_prefetch : bool , ) -> Result < DummyCacheMgr > { Ok ( DummyCacheMgr { backend , cached , validate : config . cache_validate , prefetch : enable_prefetch , } ) }
Create a new instance of `DummmyCacheMgr`.
Create a new instance of ` DummmyCacheMgr ` .
config
CacheConfig
backend
Arc<dyn BlobBackend>
cached
bool
enable_prefetch
bool