Add flush method to Database trait

This commit is contained in:
Riccardo Casatta
2021-07-27 11:38:11 +02:00
parent 5cdc5fb58a
commit e52550cfec
4 changed files with 15 additions and 0 deletions

View File

@@ -419,6 +419,10 @@ impl Database for MemoryDatabase {
Ok(*value)
}
fn flush(&mut self) -> Result<(), Error> {
Ok(())
}
}
impl BatchDatabase for MemoryDatabase {