pub trait IndexTrees { // Required methods fn open(db: &Db) -> Result<Self, Error> where Self: Sized; fn flush(&self) -> Result<(), Error>; }