diff options
Diffstat (limited to 'src/db/sled_adapter.rs')
-rw-r--r-- | src/db/sled_adapter.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/db/sled_adapter.rs b/src/db/sled_adapter.rs index fb9353f0..982f8d82 100644 --- a/src/db/sled_adapter.rs +++ b/src/db/sled_adapter.rs @@ -58,6 +58,10 @@ impl SledDb { } impl IDb for SledDb { + fn engine(&self) -> String { + "Sled".into() + } + fn open_tree(&self, name: &str) -> Result<usize> { let mut trees = self.trees.write().unwrap(); if let Some(i) = trees.1.get(name) { |