Expand description
The event cache stores holds events and downloaded media when the cache was activated to save bandwidth at the cost of increased storage space usage.
Implementing the EventCacheStore
trait, you can plug any storage backend
into the event cache for the actual storage. By default this brings an
in-memory store.
Structs§
- The high-level public type to represent an
EventCacheStore
lock. - An RAII implementation of a “scoped lock” of an
EventCacheStoreLock
. When this structure is dropped (falls out of scope), the lock will be unlocked. - In-memory, non-persistent implementation of the
EventCacheStore
.
Enums§
- Event cache store specific error type.
- Error type for the
StoreCipher
operations.
Constants§
- A default capacity for linked chunks, when manipulating in conjunction with an
EventCacheStore
implementation.
Traits§
- An abstract trait that can be used to implement different store backends for the event cache of the SDK.
- A type that can be type-erased into
Arc<dyn EventCacheStore>
.
Type Aliases§
- A type-erased
EventCacheStore
. - An
EventCacheStore
specific result type.