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