Enum trie_db::TrieError [−][src]
pub enum TrieError<T, E> { InvalidStateRoot(T), IncompleteDatabase(T), ValueAtIncompleteKey(Vec<u8>, u8), DecoderError(T, E), InvalidHash(T, Vec<u8>), }
Expand description
Trie Errors.
These borrow the data within them to avoid excessive copying on every trie operation.
Variants
Attempted to create a trie with a state root not in the DB.
Trie item not found in the database,
A value was found in the trie with a nibble key that was not byte-aligned. The first parameter is the byte-aligned part of the prefix and the second parameter is the remaining nibble.
Corrupt Trie item
Trait Implementations
Auto Trait Implementations
impl<T, E> RefUnwindSafe for TrieError<T, E> where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E> UnwindSafe for TrieError<T, E> where
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more