Generic cache key trait
| 91 | |
| 92 | /// Generic cache key trait |
| 93 | pub trait CacheKey: |
| 94 | std::fmt::Debug + Clone + PartialEq + Eq + std::hash::Hash + Send + Sync |
| 95 | { |
| 96 | #[allow(dead_code)] // ROADMAP v0.5.0 - Cache key generation for query caching (see ROADMAP.md §9) |
| 97 | fn cache_key(&self) -> String; |
| 98 | fn tags(&self) -> Vec<String> { |
| 99 | Vec::new() |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | /// Generic cached value trait |
| 104 | pub trait CacheValue: std::fmt::Debug + Clone + Send + Sync { |
nothing calls this directly
no outgoing calls
no test coverage detected