Function sp_database::as_database [−][src]
pub fn as_database<D: KeyValueDB + 'static, H: Clone>(
db: D
) -> Arc<dyn Database<H>>
Wrap RocksDb database into a trait object that implements sp_database::Database
pub fn as_database<D: KeyValueDB + 'static, H: Clone>(
db: D
) -> Arc<dyn Database<H>>
Wrap RocksDb database into a trait object that implements sp_database::Database