pub async fn sync<DB, R>( config: Config<DB, R>, ) -> Result<DB, Error<R::Error, DB::Digest>>where DB: Database, DB::Op: Encode, R: Resolver<Op = DB::Op, Digest = DB::Digest>,
Create/open a database and sync it to a target state