mirror of
https://github.com/vacp2p/pmtree.git
synced 2026-01-09 15:28:02 -05:00
chore: add flush trait fn
This commit is contained in:
@@ -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<()>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user