MCPcopy Create free account
hub / github.com/erans/pgsqlite / clone

Method clone

src/cache/memory_aware_manager.rs:415–423  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

413
414impl Clone for MemoryAwareCacheManager {
415 fn clone(&self) -> Self {
416 Self {
417 config: self.config.clone(),
418 managed_caches: self.managed_caches.clone(),
419 stats: self.stats.clone(),
420 last_check: self.last_check.clone(),
421 cache_factory: self.cache_factory.clone(),
422 }
423 }
424}
425
426impl Default for MemoryAwareCacheManager {

Callers 4

get_statsMethod · 0.45
get_cache_infoMethod · 0.45
start_monitoringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected