Skip to main content

Module cache

Module cache 

Source

Structs§

Cache
A weighted memory cache with backend-provided asynchronous load deduplication. Values should be inexpensive to clone, such as Arc<T> or Bytes. Capacity is maintained asynchronously; insertion does not guarantee retention.

Enums§

RemovalCause
Reason for releasing an entry from the cache.