Skip to main content

GraphVisitor

Trait GraphVisitor 

Source
pub trait GraphVisitor<I: Interpretation, V: Vocabulary> {
    type Ok;
    type Error;

    // Required methods
    fn subject<T>(&mut self, value: &T) -> Result<(), Self::Error>
       where T: ?Sized + LinkedDataResource<I, V> + LinkedDataSubject<I, V>;
    fn end(self) -> Result<Self::Ok, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn subject<T>(&mut self, value: &T) -> Result<(), Self::Error>
where T: ?Sized + LinkedDataResource<I, V> + LinkedDataSubject<I, V>,

Source

fn end(self) -> Result<Self::Ok, Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<'a, I: Interpretation, V: Vocabulary, S: GraphVisitor<I, V>> GraphVisitor<I, V> for &'a mut S

Source§

type Ok = ()

Source§

type Error = <S as GraphVisitor<I, V>>::Error

Source§

fn subject<T>(&mut self, value: &T) -> Result<(), Self::Error>
where T: ?Sized + LinkedDataResource<I, V> + LinkedDataSubject<I, V>,

Source§

fn end(self) -> Result<Self::Ok, Self::Error>

Implementors§