| 31 | /// Cache levels for different types of data |
| 32 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] |
| 33 | pub enum CacheLevel { |
| 34 | /// L1: Hot data, frequently accessed (in-memory, small, fast) |
| 35 | L1, |
| 36 | /// L2: Warm data, occasionally accessed (in-memory, larger, moderate speed) |
| 37 | L2, |
| 38 | /// L3: Cold data, infrequently accessed (disk-backed, large, slower) |
| 39 | L3, |
| 40 | } |
| 41 | |
| 42 | /// Cache entry metadata |
| 43 | #[derive(Debug, Clone)] |
nothing calls this directly
no outgoing calls
no test coverage detected