Skip to main content

Module sync

Module sync 

Source
Expand description

Concurrent cache variants that can be used from multiple threads.

Structs§

Cache
A concurrent cache
DefaultLifecycle
Default Lifecycle for a sync cache.
Drain
Draining iterator for the items in the cache.
Iter
Iterator over the items in the cache.
LockContention
Error returned by non-blocking cache operations that do not consume their inputs when the relevant shard lock could not be acquired immediately.
PlaceholderGuard

Enums§

EntryAction
What to do with an existing entry after inspection/mutation.
EntryResult
Result of an entry or entry_async operation.
GuardResult
Result of Cache::get_value_or_guard.