Skip to main content

Transactionable

Trait Transactionable 

Source
pub trait Transactionable<S>
where S: BlockStorage + Clone + 'static,
{ type Transaction; // Required method fn open<'life0, 'life1, 'async_trait>( &'life0 self, storage: &'life1 S, ) -> Pin<Box<dyn Future<Output = Result<Self::Transaction, StorageError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; }
Expand description

Collection which supports transactions.

Required Associated Types§

Required Methods§

Source

fn open<'life0, 'life1, 'async_trait>( &'life0 self, storage: &'life1 S, ) -> Pin<Box<dyn Future<Output = Result<Self::Transaction, StorageError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§