cast::revm

Trait GetInspector

pub trait GetInspector<DB>
where DB: Database,
{ // Required method fn get_inspector(&mut self) -> &mut impl Inspector<DB>; }
Expand description

Provides access to an Inspector instance.

Required Methods§

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

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§

§

impl<DB, INSP> GetInspector<DB> for INSP
where DB: Database, INSP: Inspector<DB>,