Inserts a value into the cache.
(&self, key: K, value: V)
| 139 | |
| 140 | /// Inserts a value into the cache. |
| 141 | pub async fn insert(&self, key: K, value: V) { |
| 142 | self.cache.insert(key, value).await; |
| 143 | } |
| 144 | |
| 145 | /// Returns the cache metrics. |
| 146 | pub const fn metrics(&self) -> &CacheMetrics { |
no outgoing calls