sync

Function sync 

Source
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>,
Expand description

Create/open a database and sync it to a target state