Function tp_trie::child_trie_root[][src]

pub fn child_trie_root<L: TrieConfiguration, I, A, B>(
    input: I
) -> <L::Hash as Hasher>::Out where
    I: IntoIterator<Item = (A, B)>,
    A: AsRef<[u8]> + Ord,
    B: AsRef<[u8]>, 

Determine a child trie root given its ordered contents, closed form. H is the default hasher, but a generic implementation may ignore this type parameter and use other hashers.