pub fn ordered_trie_root_with_encoder<T, F>( items: &[T], encode: F, ) -> FixedBytes<32>where F: FnMut(&T, &mut Vec<u8>),
Compute a trie root of the collection of items with a custom encoder.