reth::providers

Trait BlockExecutionReader

source
pub trait BlockExecutionReader:
    BlockReader
    + Send
    + Sync {
    // Required method
    fn get_block_and_execution_range(
        &self,
        range: RangeInclusive<u64>,
    ) -> Result<Chain, ProviderError>;
}
Expand description

BlockExecution Reader

Required Methods§

source

fn get_block_and_execution_range( &self, range: RangeInclusive<u64>, ) -> Result<Chain, ProviderError>

Get range of blocks and its execution result

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, T> BlockExecutionReader for &'a T

source§

impl<T> BlockExecutionReader for Box<T>

source§

impl<T> BlockExecutionReader for Arc<T>

Implementors§