Trait sc_state_db::NodeDb

source ·
pub trait NodeDb {
    type Key: ?Sized;
    type Error: Debug;

    // Required method
    fn get(&self, key: &Self::Key) -> Result<Option<DBValue>, Self::Error>;
}
Expand description

Backend database trait. Read-only.

Required Associated Types§

Required Methods§

source

fn get(&self, key: &Self::Key) -> Result<Option<DBValue>, Self::Error>

Get state trie node.

Implementors§