chore: add flush trait fn

This commit is contained in:
rymnc
2023-07-26 10:43:30 +05:30
parent 4521c44065
commit 5635f93446

View File

@@ -28,4 +28,7 @@ pub trait Database {
/// Closes the db connection
fn close(&mut self) -> PmtreeResult<()>;
/// Flushes writes to the db
fn flush(&mut self) -> PmtreeResult<()>;
}