pub trait ConcurrentCacheExt<K, V> {
    // Required method
    fn sync(&self);
}
Available on crate feature sync only.
Expand description

Provides extra methods that will be useful for testing.

Required Methods§

source

fn sync(&self)

Performs any pending maintenance operations needed by the cache.

Implementors§

source§

impl<K, V, S> ConcurrentCacheExt<K, V> for Cache<K, V, S>
where K: Hash + Eq + Send + Sync + 'static, V: Send + Sync + 'static, S: BuildHasher + Clone + Send + Sync + 'static,