Re-exports§
pub use crate::xmtp_openmls_provider::XmtpMlsStorageProvider;pub use diesel;pub use xmtp_proto as proto;pub use serialization::*;pub use xmtp_openmls_provider::*;pub use test_utils::*;pub use encrypted_store::*;
Modules§
- __
mock_ Mock Transactional KeyStore - __
mock_ Mock Transactional KeyStore_ Transactional KeyStore - encrypted_
store - A durable object store powered by Sqlite and Diesel.
- mock
- prelude
- serialization
- sql_
key_ store - test_
util - test_
utils - xmtp_
openmls_ provider
Macros§
Structs§
- Mls
- Mock
Transactional KeyStore - Get an MLS Key store in the context of a transaction this must only be used within transactions.
Enums§
Traits§
- DbQuery
- Delete
- Deletes a model from the underlying data store
- Fetch
- Fetches a model from the underlying data store, returning None if it does not exist
- Fetch
List - Fetches all instances of
Modelfrom the data store. Returns an empty list if no items are found or an error if the fetch fails. - Fetch
List With Key - Fetches a filtered list of
Modelinstances matching the specified key. Logs an error and returns an empty list if no items are found or if an error occurs. - Into
Connection - Read
Only - Store
- Inserts a model to the underlying data store, erroring if it already exists
- Store
OrIgnore - Inserts a model to the underlying data store, silent no-op on unique constraint violations
- Transactional
KeyStore - Get an MLS Key store in the context of a transaction this must only be used within transactions.
Functions§
Type Aliases§
- Default
DbConnection - Default
MlsStore - Default
Store - The default platform-specific store