DatabaseRef

Trait DatabaseRef 

Source
pub trait DatabaseRef: DatabaseRef<Error = DatabaseError> + Debug { }
Expand description

Helper trait that combines revm::DatabaseRef with Debug. This is needed because alloy-evm requires Debug on Database implementations. With trait upcasting now stable, we can now upcast from this trait to revm::DatabaseRef.

Implementors§

Source§

impl DatabaseRef for dyn Db

Source§

impl<T> DatabaseRef for T
where T: DatabaseRef<Error = DatabaseError> + Debug,