reth::providers

Trait HashedPostStateProvider

Source
pub trait HashedPostStateProvider: Send + Sync {
    // Required method
    fn hashed_post_state(&self, bundle_state: &BundleState) -> HashedPostState;
}
Expand description

Trait that provides the hashed state from various sources.

Required Methods§

Source

fn hashed_post_state(&self, bundle_state: &BundleState) -> HashedPostState

Returns the HashedPostState of the provided BundleState.

Implementations on Foreign Types§

§

impl<'a, N> HashedPostStateProvider for MemoryOverlayStateProviderRef<'a, N>
where N: NodePrimitives,

§

fn hashed_post_state(&self, bundle_state: &BundleState) -> HashedPostState

Source§

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

§

impl<N> HashedPostStateProvider for MemoryOverlayStateProvider<N>
where N: NodePrimitives,

§

fn hashed_post_state(&self, bundle_state: &BundleState) -> HashedPostState

Source§

impl<T> HashedPostStateProvider for Box<T>

Source§

impl<T> HashedPostStateProvider for Arc<T>

Implementors§