Enum patricia_trie::TrieError [] [src]

pub enum TrieError {
    InvalidStateRoot(H256),
    IncompleteDatabase(H256),
}

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,

Trait Implementations

impl Debug for TrieError
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for TrieError
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for TrieError
[src]

impl Clone for TrieError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for TrieError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for TrieError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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