[−][src]Trait sophia::graph::CollectibleGraph
A graph that can be constructed from a
TripleSource
Required methods
fn from_triple_source<TS>(
triples: TS
) -> Result<Self, StreamError<<TS as TripleSource>::Error, Self::Error>> where
TS: TripleSource,
triples: TS
) -> Result<Self, StreamError<<TS as TripleSource>::Error, Self::Error>> where
TS: TripleSource,
Implementations on Foreign Types
impl<T> CollectibleGraph for Vec<[T; 3]> where
T: TTerm + CopyTerm + 'static,
[src]
T: TTerm + CopyTerm + 'static,
fn from_triple_source<TS>(
triples: TS
) -> Result<Vec<[T; 3]>, StreamError<<TS as TripleSource>::Error, Infallible>> where
TS: TripleSource,
[src]
triples: TS
) -> Result<Vec<[T; 3]>, StreamError<<TS as TripleSource>::Error, Infallible>> where
TS: TripleSource,
impl<T, BH> CollectibleGraph for HashSet<[T; 3], BH> where
BH: BuildHasher + Default,
T: TTerm + CopyTerm + Eq + Hash + 'static,
[src]
BH: BuildHasher + Default,
T: TTerm + CopyTerm + Eq + Hash + 'static,
fn from_triple_source<TS>(
triples: TS
) -> Result<HashSet<[T; 3], BH>, StreamError<<TS as TripleSource>::Error, Infallible>> where
TS: TripleSource,
[src]
triples: TS
) -> Result<HashSet<[T; 3], BH>, StreamError<<TS as TripleSource>::Error, Infallible>> where
TS: TripleSource,
Implementors
impl<I> CollectibleGraph for HashGraph<I> where
I: TermIndexMap,
I::Index: Hash,
<I::Factory as TermFactory>::TermData: 'static,
[src]
I: TermIndexMap,
I::Index: Hash,
<I::Factory as TermFactory>::TermData: 'static,
fn from_triple_source<TS: TripleSource>(
triples: TS
) -> StreamResult<Self, TS::Error, Infallible>
[src]
triples: TS
) -> StreamResult<Self, TS::Error, Infallible>
impl<T> CollectibleGraph for OpsWrapper<T> where
T: IndexedGraph + Graph<Triple = ByTermRefs<Term<<T as IndexedGraph>::TermData>>>,
[src]
T: IndexedGraph + Graph<Triple = ByTermRefs<Term<<T as IndexedGraph>::TermData>>>,
fn from_triple_source<TS: TripleSource>(
triples: TS
) -> StreamResult<Self, TS::Error, Self::Error>
[src]
triples: TS
) -> StreamResult<Self, TS::Error, Self::Error>
impl<T> CollectibleGraph for SpoWrapper<T> where
T: IndexedGraph + Graph<Triple = ByTermRefs<Term<<T as IndexedGraph>::TermData>>>,
[src]
T: IndexedGraph + Graph<Triple = ByTermRefs<Term<<T as IndexedGraph>::TermData>>>,
fn from_triple_source<TS: TripleSource>(
triples: TS
) -> StreamResult<Self, TS::Error, Self::Error>
[src]
triples: TS
) -> StreamResult<Self, TS::Error, Self::Error>