pub trait LiteralOccurrenceCursor: Send {
type Term: Clone + Eq + Send + Sync;
type Error: Error + Send + Sync + 'static;
type Reader: LiteralReader<Error = Self::Error>;
// Required method
fn next(
&mut self,
) -> impl Future<Output = LiteralOccurrenceRead<Self::Term, Self::Reader, Self::Error>> + Send;
}Expand description
Streaming capability over selected immutable literal occurrences and readers.
The adapter supplies every relevant direct/recursive occurrence for one phase. Each reader must describe its occurrence’s exact literal. Preserve selection, blank scope, and root/graph provenance; never hydrate all literals or expose a previous closure as new input. This is separate from RDF assertion scans: an RDF predicate spelling cannot manufacture a semantic metadata premise.
Required Associated Types§
Sourcetype Term: Clone + Eq + Send + Sync
type Term: Clone + Eq + Send + Sync
Exact term identities shared with inference scratch storage.
Sourcetype Reader: LiteralReader<Error = Self::Error>
type Reader: LiteralReader<Error = Self::Error>
Reader for one immutable literal, independent of scratch writes. It may borrow the immutable accessor for the cursor’s lifetime.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".