Module cache_trait

Module cache_trait 

Source
Expand description

Cache trait abstraction for pluggable backends

Provides trait-based interface following London School TDD principles:

  • Clear contract definition through trait methods
  • Mockable interface for testing
  • Support for multiple backend implementations

Structs§

CacheStats
Statistics about cache state

Traits§

Cache
Cache trait defining the contract for cache backends

Type Aliases§

BoxedCache
Type alias for boxed cache trait object