pub trait Lookup { type Database: ?Sized; type Data; // Required method fn lookup(&self, db: &Self::Database) -> Self::Data; }