|
// TODO: make a wrapper return type over DB return types (like `IVec`) to not allocate a `Vec` |
|
pub trait Tree: Send + Sync { |
|
fn get(&self, key: &[u8]) -> DbResult<Option<Vec<u8>>>; |
|
fn insert(&self, key: &[u8], value: &[u8]) -> DbResult<Option<Vec<u8>>>; |
This issue was generated by todo based on a TODO
comment in 62a5bd4. It's been assigned to @yusdacra because they committed the code.