reth_storage_api

Trait ChangeSetReader

Source
pub trait ChangeSetReader: Send + Sync {
    // Required method
    fn account_block_changeset(
        &self,
        block_number: BlockNumber,
    ) -> ProviderResult<Vec<AccountBeforeTx>>;
}
Expand description

AccountChange reader

Required Methods§

Source

fn account_block_changeset( &self, block_number: BlockNumber, ) -> ProviderResult<Vec<AccountBeforeTx>>

Iterate over account changesets and return the account state from before this block.

Implementations on Foreign Types§

Source§

impl<'a, T: 'a + ChangeSetReader + ?Sized> ChangeSetReader for &'a T
where &'a T: Send + Sync,

Source§

fn account_block_changeset( &self, block_number: BlockNumber, ) -> ProviderResult<Vec<AccountBeforeTx>>

Source§

impl<T: ChangeSetReader + ?Sized> ChangeSetReader for Box<T>
where Box<T>: Send + Sync,

Source§

fn account_block_changeset( &self, block_number: BlockNumber, ) -> ProviderResult<Vec<AccountBeforeTx>>

Source§

impl<T: ChangeSetReader + ?Sized> ChangeSetReader for Arc<T>
where Arc<T>: Send + Sync,

Source§

fn account_block_changeset( &self, block_number: BlockNumber, ) -> ProviderResult<Vec<AccountBeforeTx>>

Implementors§