Function sp_database::as_database
source ยท pub fn as_database<D, H>(db: D) -> Arc<dyn Database<H>>
Expand description
Wrap RocksDb database into a trait object that implements sp_database::Database
pub fn as_database<D, H>(db: D) -> Arc<dyn Database<H>>
Wrap RocksDb database into a trait object that implements sp_database::Database