pub trait EntityTransactionExt: Entity {
// Required methods
fn save<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
tx: &'life1 TransactionWrapper<'life2>,
) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn delete_fail_on_missing_id<'life0, 'life1, 'life2, 'async_trait>(
tx: &'life0 TransactionWrapper<'life1>,
id: StringEntityId<'life2>,
) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<()>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
// Provided methods
fn pre_save<'a, 'async_trait>(
&'a mut self,
) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<Self::AutoGeneratedFields>> + Send + 'async_trait>>
where Self: Send + 'async_trait,
'a: 'async_trait { ... }
fn delete<'life0, 'life1, 'life2, 'async_trait>(
tx: &'life0 TransactionWrapper<'life1>,
id: StringEntityId<'life2>,
) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
}
Required Methods§
fn save<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
tx: &'life1 TransactionWrapper<'life2>,
) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_fail_on_missing_id<'life0, 'life1, 'life2, 'async_trait>(
tx: &'life0 TransactionWrapper<'life1>,
id: StringEntityId<'life2>,
) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Provided Methods§
fn pre_save<'a, 'async_trait>(
&'a mut self,
) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<Self::AutoGeneratedFields>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'a: 'async_trait,
fn delete<'life0, 'life1, 'life2, 'async_trait>(
tx: &'life0 TransactionWrapper<'life1>,
id: StringEntityId<'life2>,
) -> Pin<Box<dyn Future<Output = CryptoKeystoreResult<()>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Object Safety§
This trait is not object safe.