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

Attempted to create a trie with a state root not in the DB.

Trie item not found in the database,

Corrupt Trie item

Trait Implementations

impl<T: Debug, E: Debug> Debug for TrieError<T, E>
[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq, E: PartialEq> PartialEq for TrieError<T, E>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq, E: Eq> Eq for TrieError<T, E>
[src]

impl<T: Clone, E: Clone> Clone for TrieError<T, E>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T, E> Display for TrieError<T, E> where
    T: Debug,
    E: Debug
[src]

Formats the value using the given formatter. Read more

impl<T, E> Error for TrieError<T, E> where
    T: Debug,
    E: Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl<T, E> Send for TrieError<T, E> where
    E: Send,
    T: Send

impl<T, E> Sync for TrieError<T, E> where
    E: Sync,
    T: Sync