Type Alias reth_revm::handler::EndHandle

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

End handle, takes result and state and returns final result. This will be called after all the other handlers.

It is useful for catching errors and returning them in a different way.

Aliased Type§

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

Layout§

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