Enum patricia_trie::TrieError [−][src]
pub enum TrieError<T, E> {
    InvalidStateRoot(T),
    IncompleteDatabase(T),
    DecoderError(T, E),
}Trie Errors.
These borrow the data within them to avoid excessive copying on every trie operation.
Variants
InvalidStateRoot(T)Attempted to create a trie with a state root not in the DB.
IncompleteDatabase(T)Trie item not found in the database,
DecoderError(T, E)Corrupt Trie item
Trait Implementations
impl<T: Debug, E: Debug> Debug for TrieError<T, E>[src] 
impl<T: Debug, E: Debug> Debug for TrieError<T, E>fn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: PartialEq, E: PartialEq> PartialEq for TrieError<T, E>[src] 
impl<T: PartialEq, E: PartialEq> PartialEq for TrieError<T, E>fn eq(&self, other: &TrieError<T, E>) -> bool[src] 
fn eq(&self, other: &TrieError<T, E>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TrieError<T, E>) -> bool[src] 
fn ne(&self, other: &TrieError<T, E>) -> boolThis method tests for !=.
impl<T: Eq, E: Eq> Eq for TrieError<T, E>[src] 
impl<T: Eq, E: Eq> Eq for TrieError<T, E>impl<T: Clone, E: Clone> Clone for TrieError<T, E>[src] 
impl<T: Clone, E: Clone> Clone for TrieError<T, E>fn clone(&self) -> TrieError<T, E>[src] 
fn clone(&self) -> TrieError<T, E>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src] 
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<T, E> Display for TrieError<T, E> where
    T: Debug,
    E: Debug, [src] 
impl<T, E> Display for TrieError<T, E> where
    T: Debug,
    E: Debug, fn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T, E> Error for TrieError<T, E> where
    T: Debug,
    E: Error, [src] 
impl<T, E> Error for TrieError<T, E> where
    T: Debug,
    E: Error,