pub type ClientMigrationFn = for<'r, 'tx> fn(_: &'r mut DatabaseTransaction<'tx>, _: ModuleInstanceId, _: Vec<(Vec<u8>, OperationId)>, _: Vec<(Vec<u8>, OperationId)>, _: ModuleDecoderRegistry) -> BoxFuture<'r, Result<Option<(Vec<DynState>, Vec<DynState>)>>>;
Expand description

ClientMigrationFn is a function that modules can implement to “migrate” the database to the next database version.