(&self, key: &[u8])
| 26 | } |
| 27 | |
| 28 | fn get(&self, key: &[u8]) -> StorageResult<Option<Vec<u8>>> { |
| 29 | self.tree |
| 30 | .get(key) |
| 31 | .map_err(|e| StorageDriverError::BackendSpecific(e.to_string())) |
| 32 | .map(|opt| opt.map(|v| v.to_vec())) |
| 33 | } |
| 34 | |
| 35 | fn remove(&self, key: &[u8]) -> StorageResult<()> { |
| 36 | self.tree |
no outgoing calls
no test coverage detected