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
DependentQueuedRequestrather than its parentQueuedRequest. - Current draft of the composer for the room.
- A request to be sent, depending on a
QueuedRequestto be sent first. - Detailed record about a thumbnail used when finishing a media upload.
- In-memory, non-persistent implementation of the
StateStore. - A request to be sent with a send queue.
- Information about a media (and its thumbnail) that have been sent to an homeserver.
- 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
DependentQueuedRequestKind. - Represents a failed to send unrecoverable error of an event sent via the send queue.
- The kind of a send queue request.
- A unique key (identifier) indicating that a transaction has been successfully sent to the server.
- A key for key-value data.
- A value for key-value data that should be persisted into the store.
- Error type for the
StoreCipheroperations. - 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
StateStorespecific result type.