pub trait CardTripleSource {
// Required method
fn replay(&self, f: &mut dyn FnMut(&str, &str, &str));
}Expand description
A replayable source of a graph’s default-graph triples for card
derivation. replay may be called more than once (the derivation makes two
passes); every call MUST yield the same triples in the same order. Terms are
passed as borrowed &str valid only for that call — so the derivation owns
(clones) any key it retains, letting one code path serve both an in-memory
quad slice and a streaming build’s dictionary + id-triples.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".