Add offset manager method to cache hash trait

This commit is contained in:
Paul Hauner
2019-03-28 23:58:27 +11:00
parent 2dcf1c857c
commit 40bfd5a6c7
3 changed files with 137 additions and 35 deletions

View File

@@ -12,6 +12,10 @@ impl CachedTreeHash for u64 {
8
}
fn offset_handler(&self, _initial_offset: usize) -> Option<OffsetHandler> {
None
}
fn num_child_nodes(&self) -> usize {
0
}