(&self)
| 127 | } |
| 128 | |
| 129 | fn list_trees(&self) -> StorageResult<Vec<String>> { |
| 130 | let tree_names = self |
| 131 | .db |
| 132 | .tree_names() |
| 133 | .into_iter() |
| 134 | .map(|name| String::from_utf8_lossy(&name).to_string()) |
| 135 | .collect(); |
| 136 | Ok(tree_names) |
| 137 | } |
| 138 | |
| 139 | fn flush(&self) -> StorageResult<()> { |
| 140 | self.db |
no outgoing calls
no test coverage detected