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.

Structs

In-Memory, non-persistent implementation of the StateStore

Store state changes and pass them to the StateStore.

A state store wrapper for the SDK.

Configuration for the state store and, when encryption is enabled, for the crypto store.

Enums

State store specific error type.

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.

Type Definitions

BoxStream of owned Types

A StateStore specific result type.