diff options
Diffstat (limited to 'src/version_table.rs')
-rw-r--r-- | src/version_table.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/version_table.rs b/src/version_table.rs index 86086421..e8360cd1 100644 --- a/src/version_table.rs +++ b/src/version_table.rs @@ -37,13 +37,16 @@ pub struct VersionTable { pub garage: RwLock<Option<Arc<Garage>>>, } -impl KeyHash for VersionMetaKey { +impl TableKey for VersionMetaKey { fn hash(&self) -> Hash { hash(self.bucket.as_bytes()) } } -impl ValueMerge for VersionMetaValue { +impl TableValue for VersionMetaValue { + fn sort_key(&self) -> Vec<u8> { + vec![] + } fn merge(&mut self, other: &Self) { unimplemented!() } |