pub trait DatabaseGetter {
type Database: Database;
// Required methods
fn db(&mut self) -> &mut Self::Database;
fn db_ref(&self) -> &Self::Database;
}
pub trait DatabaseGetter {
type Database: Database;
// Required methods
fn db(&mut self) -> &mut Self::Database;
fn db_ref(&self) -> &Self::Database;
}