forge::revm::handler::generic

Type Alias GenericContextHandle

pub type GenericContextHandle<'a, EXT, DB> = Arc<dyn Fn(&mut Context<EXT, DB>) -> Result<(), EVMError<<DB as Database>::Error>> + 'a>;
Expand description

Generic Handle that takes a mutable reference to the context and returns a result.

Aliased Type§

struct GenericContextHandle<'a, EXT, DB> { /* private fields */ }

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.