[][src]Function trie_root::unhashed_trie

pub fn unhashed_trie<H, S, I, A, B>(input: I) -> Vec<u8>

Notable traits for Vec<u8>

impl Write for Vec<u8>
where
    I: IntoIterator<Item = (A, B)>,
    A: AsRef<[u8]> + Ord,
    B: AsRef<[u8]>,
    H: Hasher,
    S: TrieStream

Method similar to trie_root but returning the root encoded node instead of its hash. Mainly use for testing or debugging.