pub trait AsyncRdfSink: Send + Sync {
// Required methods
fn process_quad(
&mut self,
quad: Quad,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + '_>>;
fn finalize(
&mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + '_>>;
}Expand description
Async streaming sink for writing parsed RDF data
Required Methods§
Implementors§
impl AsyncRdfSink for MemoryAsyncSink
Available on crate feature
async only.