Trait HashedPostStateProvider
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§
fn hashed_post_state(&self, bundle_state: &BundleState) -> HashedPostState
fn hashed_post_state(&self, bundle_state: &BundleState) -> HashedPostState
Returns the HashedPostState
of the provided [BundleState
].
Implementations on Foreign Types§
§impl HashedPostStateProvider for StateProviderTest
impl HashedPostStateProvider for StateProviderTest
fn hashed_post_state(&self, bundle_state: &BundleState) -> HashedPostState
§impl<'a, T> HashedPostStateProvider for &'a T
impl<'a, T> HashedPostStateProvider for &'a T
fn hashed_post_state(&self, bundle_state: &BundleState) -> HashedPostState
§impl<N> HashedPostStateProvider for MemoryOverlayStateProviderRef<'_, N>where
N: NodePrimitives,
impl<N> HashedPostStateProvider for MemoryOverlayStateProviderRef<'_, N>where
N: NodePrimitives,
fn hashed_post_state(&self, bundle_state: &BundleState) -> HashedPostState
§impl<T> HashedPostStateProvider for Box<T>
impl<T> HashedPostStateProvider for Box<T>
fn hashed_post_state(&self, bundle_state: &BundleState) -> HashedPostState
§impl<T> HashedPostStateProvider for Arc<T>
impl<T> HashedPostStateProvider for Arc<T>
fn hashed_post_state(&self, bundle_state: &BundleState) -> HashedPostState
Implementors§
impl HashedPostStateProvider for MockEthProvider
Available on crate feature
test-utils
only.