pub fn new() -> Self {
        let dir = Arc::new(TempDir::new().unwrap());
        let options = DbOptions::default();
        let inner = RocksDB::open(dir.path(), &options).unwrap();
        Self { dir, inner }
    }
/// Creates a new, empty database.
Creates a new, empty database.
Creates a new empty database .
pub fn new() -> Self {
        let dir = Arc::new(TempDir::new().unwrap());
        let options = DbOptions::default();
        let inner = RocksDB::open(dir.path(), &options).unwrap();
        Self { dir, inner }
    }
pub fn new ( ) -> Self { let dir = Arc :: new ( TempDir :: new ( ) . unwrap ( ) ) ; let options = DbOptions :: default ( ) ; let inner = RocksDB :: open ( dir . path ( ) , & options ) . unwrap ( ) ; Self { dir , inner } }
Creates a new, empty database.
Creates a new empty database .