Iterator for NibbleSlice and TrieDB.

This commit is contained in:
Gav Wood
2016-01-17 22:18:47 +01:00
parent 6ea8eaa3b5
commit 62a0737e59
4 changed files with 171 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ use rlp::*;
use super::journal::*;
/// Type of node in the trie and essential information thereof.
#[derive(Eq, PartialEq, Debug)]
#[derive(Clone, Eq, PartialEq, Debug)]
pub enum Node<'a> {
Empty,
Leaf(NibbleSlice<'a>, &'a[u8]),