mithril_common::cardano_block_scanner

Trait BlockStreamerTestExtensions

source
pub trait BlockStreamerTestExtensions {
    // Required method
    fn poll_all<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = StdResult<Vec<ScannedBlock>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Tests extensions methods for the BlockStreamer trait.

Required Methods§

source

fn poll_all<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = StdResult<Vec<ScannedBlock>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Stream all the available blocks, may be very memory intensive

Implementors§