pub trait CollectibleGraph: Graph + Sized {
// Required method
fn from_triple_source<TS: TripleSource>(
triples: TS,
) -> StreamResult<Self, TS::Error, Self::Error>;
}
Expand description
A Graph
that can be constructed from a TripleSource
Required Methods§
Sourcefn from_triple_source<TS: TripleSource>(
triples: TS,
) -> StreamResult<Self, TS::Error, Self::Error>
fn from_triple_source<TS: TripleSource>( triples: TS, ) -> StreamResult<Self, TS::Error, Self::Error>
Construct a graph from the given source
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.