mithril_signer::services

Trait HighestTransactionBlockNumberGetter

source
pub trait HighestTransactionBlockNumberGetter: Send + Sync {
    // Required method
    fn get<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = StdResult<Option<BlockNumber>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Trait to get the highest transaction block number

Required Methods§

source

fn get<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = StdResult<Option<BlockNumber>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Get the highest known transaction block number

Implementations on Foreign Types§

source§

impl HighestTransactionBlockNumberGetter for CardanoTransactionRepository

source§

fn get<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = StdResult<Option<BlockNumber>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§