Skip to main content

DatatypeConflictSink

Trait DatatypeConflictSink 

Source
pub trait DatatypeConflictSink: Send {
    type Term: Clone + Eq + Send + Sync;
    type Error: Error + Send + Sync + 'static;

    // Required method
    fn record(
        &mut self,
        conflict: DatatypeConflict<Self::Term>,
    ) -> impl Future<Output = Result<(), Self::Error>> + Send;
}
Expand description

Caller-owned asynchronous diagnostics storage, separate from RDF scratch.

Required Associated Types§

Source

type Term: Clone + Eq + Send + Sync

Exact source term identity.

Source

type Error: Error + Send + Sync + 'static

Backend failure; errors abort the attempt rather than lose diagnostics.

Required Methods§

Source

fn record( &mut self, conflict: DatatypeConflict<Self::Term>, ) -> impl Future<Output = Result<(), Self::Error>> + Send

Retain one witness with this attempt’s immutable source scope and snapshot. Stream/spill records and discard partial output if the check fails.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§