matrix_sdk_base::event_cache

Module store

Source
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§

Enums§

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§