Trait finql_data::transaction_handler::TransactionHandler [−][src]
Handler for globally available data of transactions and related data
Required methods
#[must_use]fn insert_transaction<'life0, 'life1, 'async_trait>(
&'life0 mut self,
transaction: &'life1 Transaction
) -> Pin<Box<dyn Future<Output = Result<usize, DataError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
transaction: &'life1 Transaction
) -> Pin<Box<dyn Future<Output = Result<usize, DataError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_transaction_by_id<'life0, 'async_trait>(
&'life0 mut self,
id: usize
) -> Pin<Box<dyn Future<Output = Result<Transaction, DataError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
id: usize
) -> Pin<Box<dyn Future<Output = Result<Transaction, DataError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_all_transactions<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<Transaction>, DataError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<Transaction>, DataError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn update_transaction<'life0, 'life1, 'async_trait>(
&'life0 mut self,
transaction: &'life1 Transaction
) -> Pin<Box<dyn Future<Output = Result<(), DataError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
transaction: &'life1 Transaction
) -> Pin<Box<dyn Future<Output = Result<(), DataError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn delete_transaction<'life0, 'async_trait>(
&'life0 mut self,
id: usize
) -> Pin<Box<dyn Future<Output = Result<(), DataError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
id: usize
) -> Pin<Box<dyn Future<Output = Result<(), DataError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,