Expand description
Durable store boundary. Store boundary for durable client state.
The built-in SQLite implementation persists sessions, sync cursors and journals, dialogs, users, messages, reconciliation state, and transactions. The trait keeps storage pluggable for hosts with platform-specific keychain or database requirements.
Structs§
- Account
State Snapshot - Durable account-level state needed to reconcile a consumer after an event stream retention gap.
- Chat
State Snapshot - Durable per-chat state that complements paged dialog/history queries during reconciliation.
- Client
Event Delivery - One client event prepared for delivery to the single lossless consumer.
- InMemory
Store - In-memory store for tests and early client development.
- Pending
Sync Batch - Durable write-ahead record for one fetched update batch. The opaque payload is owned by the sync engine and retained until reducer writes and the bucket cursor have both committed.
- Sqlite
Store - SQLite-backed durable store.
- Store
Error - Redacted store error.
- Stored
Reaction - Durable current reaction state for one user and message.
- Stored
Read State - Durable read state for one chat.
- Stored
Session - Stored session metadata.
- Stored
Transaction - Stored durable transaction state.
- Sync
Bucket State - Durable cursor for one Inline update bucket.
- Sync
State - Durable global synchronization state.
Enums§
- Sync
Bucket Key - Stable identity of an Inline update bucket.
- Sync
Bucket Peer - Peer identity for an Inline chat update bucket.
Traits§
- Client
Store - Durable store boundary for client state.
Type Aliases§
- Store
Result - Result type returned by client stores.