pub trait TransactionalKeyStore {
type Store<'a>: XmtpMlsStorageProvider
where Self: 'a;
// Required method
fn key_store<'a>(&'a mut self) -> Self::Store<'a>;
}Expand description
Get an MLS Key store in the context of a transaction this must only be used within transactions.
Required Associated Types§
type Store<'a>: XmtpMlsStorageProvider where Self: 'a
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
Source§impl TransactionalKeyStore for SqliteConnection
impl TransactionalKeyStore for SqliteConnection
type Store<'a> = SqlKeyStore<MutableTransactionConnection<'a>> where Self: 'a
Source§impl TransactionalKeyStore for MockTransactionalKeyStore
Get an MLS Key store in the context of a transaction
this must only be used within transactions.
impl TransactionalKeyStore for MockTransactionalKeyStore
Get an MLS Key store in the context of a transaction this must only be used within transactions.