Module matrix_sdk_base::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§
- Data migration helpers for StateStore implementations.
Structs§
- A transaction id identifying a
DependentQueuedEvent
rather than its parentQueuedEvent
. - Current draft of the composer for the room.
- An event to be sent, depending on a
QueuedEvent
to be sent first. - In-memory, non-persistent implementation of the
StateStore
. - An event to be sent with a send queue.
- A thin wrapper to serialize a
AnyMessageLikeEventContent
. - Server capabilities returned by the /client/versions endpoint.
- Store state changes and pass them to the StateStore.
- Configuration for the various stores.
Enums§
- The type of draft of the composer.
- The specific user intent that characterizes a
DependentQueuedEvent
. - A key for key-value data.
- A value for key-value data that should be persisted into the store.
- Error type for the
StoreCipher
operations. - 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.
- Convenience functionality for state stores.
Type Aliases§
- A type-erased
StateStore
. - A
StateStore
specific result type.