rdf-reader 0.2.3

RDF.rs is a Rust framework for working with RDF knowledge graphs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// This is free and unencumbered software released into the public domain.

extern crate alloc;

pub use rdf_format::Format;
pub use rdf_model::Source;

pub trait Reader: Source {
    fn format(&self) -> Format;
}

impl core::fmt::Debug for dyn Reader {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("Reader")
            .field("format", &self.format())
            .finish()
    }
}