referrerpolicy=no-referrer-when-downgrade

Function sp_database::as_database

source ·
pub fn as_database<D, H>(db: D) -> Arc<dyn Database<H>>
where D: KeyValueDB + 'static, H: Clone + AsRef<[u8]>,
Expand description

Wrap RocksDb database into a trait object that implements sp_database::Database