| 478 | /// - Use a `CustomKeyer` that includes user/session identifiers in the cache key |
| 479 | #[derive(Clone)] |
| 480 | pub struct ServerCacheLayer<M, K = DefaultKeyer> |
| 481 | where |
| 482 | M: CacheManager, |
| 483 | K: Keyer, |
| 484 | { |
| 485 | manager: M, |
| 486 | keyer: K, |
| 487 | options: ServerCacheOptions, |
| 488 | metrics: Arc<CacheMetrics>, |
| 489 | } |
| 490 | |
| 491 | impl<M> ServerCacheLayer<M, DefaultKeyer> |
| 492 | where |
nothing calls this directly
no outgoing calls
no test coverage detected