Skip to main content

CompletedOperationsTransaction

Trait CompletedOperationsTransaction 

Source
pub trait CompletedOperationsTransaction {
    type Err: Into<Error> + From<Error>;

    // Required method
    fn add_completed_operation<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        operation: &'life1 Operation,
        fee_by_keyset: &'life2 HashMap<Id, Amount>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}
Expand description

Completed Operations Transaction trait

Required Associated Types§

Source

type Err: Into<Error> + From<Error>

Completed Operations Database Error

Required Methods§

Source

fn add_completed_operation<'life0, 'life1, 'life2, 'async_trait>( &'life0 mut self, operation: &'life1 Operation, fee_by_keyset: &'life2 HashMap<Id, Amount>, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Add completed operation

Implementors§