1use std::path::Path; 2 3use self::error::DatabaseError; 4 5pub mod error; 6pub mod tree; 7 8pub trait Database: Sized { 9 fn open(path: &Path) -> Result<Self, DatabaseError>; 10}