Trait LinkedDataGraph

Source
pub trait LinkedDataGraph<I: Interpretation, V: Vocabulary> {
    // Required method
    fn visit_graph<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
       where S: GraphVisitor<I, V>;
}
Expand description

Serialize a Linked-Data graph.

Required Methods§

Source

fn visit_graph<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: GraphVisitor<I, V>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<I: Interpretation, V: Vocabulary> LinkedDataGraph<I, V> for ()

Source§

fn visit_graph<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: GraphVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary> LinkedDataGraph<I, V> for Iri

Source§

fn visit_graph<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: GraphVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary> LinkedDataGraph<I, V> for IriBuf

Source§

fn visit_graph<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: GraphVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary, D> LinkedDataGraph<I, V> for DatasetView<'_, D>

Source§

fn visit_graph<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: GraphVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary, T: LinkedDataSubject<I, V> + LinkedDataResource<I, V>> LinkedDataGraph<I, V> for [T]

Source§

fn visit_graph<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: GraphVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary, T: LinkedDataSubject<I, V> + LinkedDataResource<I, V>> LinkedDataGraph<I, V> for Vec<T>

Source§

fn visit_graph<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: GraphVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary, T: ?Sized + LinkedDataGraph<I, V>> LinkedDataGraph<I, V> for &T

Source§

fn visit_graph<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: GraphVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary, T: ?Sized + LinkedDataGraph<I, V>> LinkedDataGraph<I, V> for Box<T>

Source§

fn visit_graph<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: GraphVisitor<I, V>,

Implementors§