Trait ic_certified_map::AsHashTree [−][src]
pub trait AsHashTree {
fn root_hash(&self) -> Hash;
fn as_hash_tree(&self) -> HashTree<'_>;
}
Required methods
Returns the root hash of the tree without constructing it.
Must be equivalent to as_hash_tree().reconstruct()
.
fn as_hash_tree(&self) -> HashTree<'_>
fn as_hash_tree(&self) -> HashTree<'_>
Constructs a hash tree corresponding to the data.