pub trait ProviderLayer<P: Provider<T, N>, T: Transport + Clone, N: Network = Ethereum> {
type Provider: Provider<T, N>;
// Required method
fn layer(&self, inner: P) -> Self::Provider;
}
Expand description
A layering abstraction in the vein of tower::Layer
Required Associated Types§
Required Methods§
Implementors§
source§impl<L, R, P, T, N> ProviderLayer<P, T, N> for JoinFill<L, R>
impl<L, R, P, T, N> ProviderLayer<P, T, N> for JoinFill<L, R>
type Provider = FillProvider<JoinFill<L, R>, P, T, N>
source§impl<P, T> ProviderLayer<P, T> for AnvilLayer
Available on crate feature anvil-node
only.
impl<P, T> ProviderLayer<P, T> for AnvilLayer
Available on crate feature
anvil-node
only.type Provider = AnvilProvider<P, T>
source§impl<P, T> ProviderLayer<P, T> for ChainLayer
impl<P, T> ProviderLayer<P, T> for ChainLayer
source§impl<P, T, N> ProviderLayer<P, T, N> for CacheLayer
Available on non-WebAssembly only.
impl<P, T, N> ProviderLayer<P, T, N> for CacheLayer
Available on non-WebAssembly only.