Module prelude

Module prelude 

Source

Re-exports§

pub use super::ReadOnly;
pub use super::association_state::QueryAssociationStateCache;
pub use super::consent_record::QueryConsentRecord;
pub use super::conversation_list::QueryConversationList;
pub use super::group::QueryDms;
pub use super::group::QueryGroup;
pub use super::group::QueryGroupVersion;
pub use super::group_intent::QueryGroupIntent;
pub use super::group_message::QueryGroupMessage;
pub use super::icebox::QueryIcebox;
pub use super::identity::QueryIdentity;
pub use super::identity_cache::QueryIdentityCache;
pub use super::identity_update::QueryIdentityUpdates;
pub use super::key_package_history::QueryKeyPackageHistory;
pub use super::key_store_entry::QueryKeyStoreEntry;
pub use super::local_commit_log::QueryLocalCommitLog;
pub use super::migrations::QueryMigrations;
pub use super::pragmas::Pragmas;
pub use super::processed_device_sync_messages::QueryDeviceSyncMessages;
pub use super::readd_status::QueryReaddStatus;
pub use super::refresh_state::QueryRefreshState;
pub use super::remote_commit_log::QueryRemoteCommitLog;
pub use super::tasks::QueryTasks;
pub use crate::xmtp_openmls_provider::XmtpMlsStorageProvider;

Modules§

__mock_MockTransactionalKeyStore
__mock_MockTransactionalKeyStore_TransactionalKeyStore

Structs§

MockTransactionalKeyStore
Get an MLS Key store in the context of a transaction this must only be used within transactions.

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
FetchList
Fetches all instances of Model from the data store. Returns an empty list if no items are found or an error if the fetch fails.
FetchListWithKey
Fetches a filtered list of Model instances matching the specified key. Logs an error and returns an empty list if no items are found or if an error occurs.
IntoConnection
Store
Inserts a model to the underlying data store, erroring if it already exists
StoreOrIgnore
Inserts a model to the underlying data store, silent no-op on unique constraint violations
TransactionalKeyStore
Get an MLS Key store in the context of a transaction this must only be used within transactions.