Trait rdftk_io::GraphWriter[][src]

pub trait GraphWriter {
    fn write(&self, w: &mut impl Write, graph: &GraphRef) -> Result<()>;
}
Expand description

Write all Statements in the Graph using the provided implementation of Write.

Required methods

fn write(&self, w: &mut impl Write, graph: &GraphRef) -> Result<()>[src]

Write the formatted graph Graph using the write implementation w.

Implementors

impl GraphWriter for JsonWriter[src]

fn write(&self, w: &mut impl Write, graph: &GraphRef) -> Result<()>[src]

impl GraphWriter for NQuadGraphWriter[src]

fn write(&self, w: &mut impl Write, graph: &GraphRef) -> Result<()>[src]

impl GraphWriter for NTripleWriter[src]

fn write(&self, w: &mut impl Write, graph: &GraphRef) -> Result<()>[src]

impl GraphWriter for XmlWriter[src]

fn write(&self, w: &mut impl Write, graph: &GraphRef) -> Result<()>[src]