Trait sophia_api::graph::CollectibleGraph
source · 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
Object Safety§
This trait is not object safe.