pub trait TransactionCacheAction<A, SC, I>: TransactionCachewhere
SC: ?Sized + StorageClient + Send + Sync,
A: StorageAction<SC, I> + Send,{
// Required method
fn manage_cache<'life0, 'life1, 'async_trait>(
&'life0 self,
transaction_id: SC::TransactionId,
ok: &'life1 A::Ok
) -> Pin<Box<dyn Future<Output = Result<(), <Self as TransactionCache>::Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
SC::TransactionId: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
// Provided method
fn handle_success<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
storage_client: &'life1 SC,
ok: &'life2 A::Ok
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
}