revm_database_interface

Trait DatabaseGetter

Source
pub trait DatabaseGetter {
    type Database: Database;

    // Required method
    fn db(&mut self) -> &mut Self::Database;
}

Required Associated Types§

Required Methods§

Source

fn db(&mut self) -> &mut Self::Database

Implementations on Foreign Types§

Source§

impl<'a, T: 'a + DatabaseGetter + ?Sized> DatabaseGetter for &'a mut T

Source§

type Database = <T as DatabaseGetter>::Database

Source§

fn db(&mut self) -> &mut Self::Database

Source§

impl<T: DatabaseGetter + ?Sized> DatabaseGetter for Box<T>

Source§

type Database = <T as DatabaseGetter>::Database

Source§

fn db(&mut self) -> &mut Self::Database

Implementors§