Update Database BatchOperations flush() documentation
This commit is contained in:
parent
fe30716fa2
commit
19d74955e2
@ -135,7 +135,7 @@ pub trait Database: BatchOperations {
|
|||||||
/// It should insert and return `0` if not present in the database
|
/// It should insert and return `0` if not present in the database
|
||||||
fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>;
|
fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>;
|
||||||
|
|
||||||
/// Force changes to be written to disk, returning the number of bytes written
|
/// Force changes to be written to disk
|
||||||
fn flush(&mut self) -> Result<(), Error>;
|
fn flush(&mut self) -> Result<(), Error>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user