pub fn new(config: DatabaseSettings) -> ClientResult<Self> {
		let db = open_database(&config, columns::META, "light")?;

		Self::from_kvdb(db as Arc<_>)
	}
/// Create new storage with given settings.
Create new storage with given settings.
Create new storage with given settings .
pub fn new(config: DatabaseSettings) -> ClientResult<Self> {
		let db = open_database(&config, columns::META, "light")?;
		Self::from_kvdb(db as Arc<_>)
	}
pub fn new ( config : DatabaseSettings ) -> ClientResult < Self > { let db = open_database ( & config , columns :: META , " " ) ? ; Self :: from_kvdb ( db as Arc < _ > ) }
Create new storage with given settings.
Create new storage with given settings .
config
DatabaseSettings
config
DatabaseSettings