Trait sc_state_db::MetaDb

source ·
pub trait MetaDb {
    type Error: Debug;

    // Required method
    fn get_meta(&self, key: &[u8]) -> Result<Option<DBValue>, Self::Error>;
}
Expand description

Backend database trait. Read-only.

Required Associated Types§

Required Methods§

source

fn get_meta(&self, key: &[u8]) -> Result<Option<DBValue>, Self::Error>

Get meta value, such as the journal.

Implementors§