Trait pretty_rdf::RdfXmlFormatter

source ·
pub trait RdfXmlFormatter<A: AsRef<str>, W> {
    // Required methods
    fn format(&mut self, triple: PTriple<A>) -> Result<(), Error>;
    fn finish(self) -> Result<W, Error>;
}

Required Methods§

source

fn format(&mut self, triple: PTriple<A>) -> Result<(), Error>

source

fn finish(self) -> Result<W, Error>

Implementors§

source§

impl<A, W> RdfXmlFormatter<A, W> for NonPrettyRdfXmlFormatter<A, W>
where A: AsRef<str> + Clone + Debug + Eq + Hash, W: Write,

source§

impl<A: AsRef<str> + Clone + Debug + Eq + Hash, W: Write> RdfXmlFormatter<A, W> for PrettyRdfXmlFormatter<A, W>