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.
Modules§
- media
- Types and traits regarding media caching of the event cache store.
Structs§
- Event
Cache Store Lock - The high-level public type to represent an
EventCacheStore
lock. - Event
Cache Store Lock Guard - An RAII implementation of a “scoped lock” of an
EventCacheStoreLock
. When this structure is dropped (falls out of scope), the lock will be unlocked. - Memory
Store - In-memory, non-persistent implementation of the
EventCacheStore
.
Enums§
- Event
Cache Store Error - Event cache store specific error type.
- Store
Encryption Error - Error type for the
StoreCipher
operations.
Constants§
- DEFAULT_
CHUNK_ CAPACITY - A default capacity for linked chunks, when manipulating in conjunction with
an
EventCacheStore
implementation.
Traits§
- Event
Cache Store - An abstract trait that can be used to implement different store backends for the event cache of the SDK.
- Into
Event Cache Store - A type that can be type-erased into
Arc<dyn EventCacheStore>
.
Type Aliases§
- DynEvent
Cache Store - A type-erased
EventCacheStore
. - Result
- An
EventCacheStore
specific result type.