revm_inspector

Trait GetInspector

Source
pub trait GetInspector<EvmWiringT: EvmWiring> {
    // Required method
    fn get_inspector(&mut self) -> &mut impl Inspector<EvmWiringT>;
}
Expand description

Provides access to an Inspector instance.

Required Methods§

Source

fn get_inspector(&mut self) -> &mut impl Inspector<EvmWiringT>

Returns the associated Inspector.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<EvmWiringT: EvmWiring, INSP: Inspector<EvmWiringT>> GetInspector<EvmWiringT> for INSP