ic_agent::hash_tree

Function leaf

source
pub fn leaf<Storage, L>(leaf: L) -> HashTree<Storage>
where Storage: AsRef<[u8]>, L: Into<Storage>,
Expand description

Create a leaf in the tree.