Skip to main content

BackendInspector

Trait BackendInspector 

Source
pub trait BackendInspector<DB: Database>:
    Inspector<EthEvmContext<DB>>
    + Inspector<OpEvmContext<DB>>
    + Inspector<TempoContext<DB>> { }
Available on crate feature optimism only.
Expand description

Marker trait that abstracts over the per-network inspector trait bounds required by the in-memory backend. The OP bound is only included when the optimism feature is enabled.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<DB: Database, T> BackendInspector<DB> for T
where T: Inspector<EthEvmContext<DB>> + Inspector<OpEvmContext<DB>> + Inspector<TempoContext<DB>>,