pub trait KeysDatabaseTransaction<'a, Error>: DbTransactionFinalizer<Err = Error> {
// Required methods
fn set_active_keyset<'life0, 'async_trait>(
&'life0 mut self,
unit: CurrencyUnit,
id: Id,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn add_keyset_info<'life0, 'async_trait>(
&'life0 mut self,
keyset: MintKeySetInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
KeysDatabaseWriter
Required Methods§
Sourcefn set_active_keyset<'life0, 'async_trait>(
&'life0 mut self,
unit: CurrencyUnit,
id: Id,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_active_keyset<'life0, 'async_trait>(
&'life0 mut self,
unit: CurrencyUnit,
id: Id,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add Active Keyset
Sourcefn add_keyset_info<'life0, 'async_trait>(
&'life0 mut self,
keyset: MintKeySetInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_keyset_info<'life0, 'async_trait>(
&'life0 mut self,
keyset: MintKeySetInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add MintKeySetInfo