reth_storage_api

Trait StorageChangeSetReader

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

Storage ChangeSet reader

Required Methods§

Source

fn storage_changeset( &self, block_number: BlockNumber, ) -> ProviderResult<Vec<(BlockNumberAddress, StorageEntry)>>

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

Implementations on Foreign Types§

Source§

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

Source§

fn storage_changeset( &self, block_number: BlockNumber, ) -> ProviderResult<Vec<(BlockNumberAddress, StorageEntry)>>

Source§

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

Source§

fn storage_changeset( &self, block_number: BlockNumber, ) -> ProviderResult<Vec<(BlockNumberAddress, StorageEntry)>>

Source§

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

Source§

fn storage_changeset( &self, block_number: BlockNumber, ) -> ProviderResult<Vec<(BlockNumberAddress, StorageEntry)>>

Implementors§