Skip to main content

TurtleExt

Trait TurtleExt 

Source
pub trait TurtleExt {
    // Required methods
    fn get_simple_triples<'a>(
        &'a self,
    ) -> Result<Triples2<'a>, TurtleSimpleError>;
    fn into_triples<'a>(&self, triples: Vec<MyQuad<'a>>) -> Triples2<'a>;
    fn shorten(&self, url: &str) -> Option<String>;
}

Required Methods§

Source

fn get_simple_triples<'a>(&'a self) -> Result<Triples2<'a>, TurtleSimpleError>

Source

fn into_triples<'a>(&self, triples: Vec<MyQuad<'a>>) -> Triples2<'a>

Source

fn shorten(&self, url: &str) -> Option<String>

Implementors§