Skip to main content

DatabaseProof

Trait DatabaseProof 

Source
pub trait DatabaseProof<'a> {
    type Tx;

    // Required method
    fn from_tx(tx: &'a Self::Tx) -> Self;
}
Available on crate features trie-db and trie only.
Expand description

Extends Proof with operations specific for working with a database transaction.

Required Associated Types§

Source

type Tx

Associated type for the database transaction.

Required Methods§

Source

fn from_tx(tx: &'a Self::Tx) -> Self

Create a new Proof instance from database transaction.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§