pub fn apply_patch_to_sink<S: PatchSink + ?Sized>(
patch: &RdfPatch,
context: &PatchContext,
sink: &mut S,
) -> Result<PatchResult>Expand description
Apply RDF Patch operations to a concrete PatchSink.
Every operation is validated (when configured) and then applied to sink.
Errors from the sink are recorded in PatchResult::errors; in
strict_mode the first failure aborts with an error. When context.dry_run
is set the sink is never touched and operations are only validated.