Add memory_usage() to DatabaseEngine trait

merge-requests/217/head
Andrej Kacian 3 years ago committed by Timo Kösters
parent fa6d7f7ccd
commit 71431f330a
No known key found for this signature in database
GPG Key ID: 356E705610F626D5

@ -27,6 +27,9 @@ pub trait DatabaseEngine: Send + Sync {
fn cleanup(self: &Self) -> Result<()> {
Ok(())
}
fn memory_usage(self: &Self) -> Result<String> {
Ok("Current database engine does not support memory usage reporting.".to_string())
}
}
pub trait Tree: Send + Sync {

Loading…
Cancel
Save