BlockModule

Trait BlockModule 

Source
pub trait BlockModule {
    // Required method
    fn handle_block<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        block: &'life1 FullBlockInformation,
        storage_tx: &'life2 mut dyn NyxdScraperTransaction,
    ) -> Pin<Box<dyn Future<Output = Result<(), ScraperError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Source

fn handle_block<'life0, 'life1, 'life2, 'async_trait>( &'life0 mut self, block: &'life1 FullBlockInformation, storage_tx: &'life2 mut dyn NyxdScraperTransaction, ) -> Pin<Box<dyn Future<Output = Result<(), ScraperError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§