matrix_sdk_base

Module store

Source
Expand description

The state store holds the overall state for rooms, users and their profiles and their timelines. It is an overall cache for faster access and convenience- accessible through Store.

Implementing the StateStore trait, you can plug any storage backend into the store for the actual storage. By default this brings an in-memory store.

Modules§

Structs§

Enums§

Traits§

  • A type that can be type-erased into Arc<dyn StateStore>.
  • An abstract state store trait that can be used to implement different stores for the SDK.
  • Convenience functionality for state stores.

Type Aliases§