Trait solana_core::tree_diff::TreeDiff
source · [−]pub trait TreeDiff {
type TreeKey: Hash + PartialEq + Eq + Copy;
fn children(&self, key: &Self::TreeKey) -> Option<&[Self::TreeKey]>;
fn contains_slot(&self, slot: &Self::TreeKey) -> bool;
fn subtree_diff(
&self,
root1: Self::TreeKey,
root2: Self::TreeKey
) -> HashSet<Self::TreeKey> { ... }
}