(&self, hash: &Hash)
| 631 | } |
| 632 | |
| 633 | fn get_internal(&self, hash: &Hash) -> Result<Option<NodeId>, PristineError> { |
| 634 | Ok(self |
| 635 | .external |
| 636 | .iter() |
| 637 | .find_map(|(id, candidate)| (candidate == hash).then_some(*id))) |
| 638 | } |
| 639 | |
| 640 | fn iter_adjacent( |
| 641 | &self, |