pub trait CollectibleDataset: Dataset + Sized {
    // Required method
    fn from_quad_source<TS: QuadSource>(
        quads: TS
    ) -> StreamResult<Self, TS::Error, Self::Error>;
}
Expand description

A Dataset that can be constructed from a QuadSource

Required Methods§

source

fn from_quad_source<TS: QuadSource>( quads: TS ) -> StreamResult<Self, TS::Error, Self::Error>

Construct a dataset from the given source

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> CollectibleDataset for BTreeSet<Gspo<T>>
where T: Term + FromTerm + Ord,

source§

fn from_quad_source<TS: QuadSource>( quads: TS ) -> StreamResult<Self, TS::Error, Self::Error>

source§

impl<T> CollectibleDataset for BTreeSet<Spog<T>>
where T: Term + FromTerm + Ord,

source§

fn from_quad_source<TS: QuadSource>( quads: TS ) -> StreamResult<Self, TS::Error, Self::Error>

source§

impl<T> CollectibleDataset for Vec<Gspo<T>>
where T: Term + FromTerm,

source§

fn from_quad_source<TS: QuadSource>( quads: TS ) -> StreamResult<Self, TS::Error, Self::Error>

source§

impl<T> CollectibleDataset for Vec<Spog<T>>
where T: Term + FromTerm,

source§

fn from_quad_source<TS: QuadSource>( quads: TS ) -> StreamResult<Self, TS::Error, Self::Error>

source§

impl<T, S> CollectibleDataset for HashSet<Gspo<T>, S>
where T: Term + Eq + FromTerm + Hash, S: BuildHasher + Default,

source§

fn from_quad_source<TS: QuadSource>( quads: TS ) -> StreamResult<Self, TS::Error, Self::Error>

source§

impl<T, S> CollectibleDataset for HashSet<Spog<T>, S>
where T: Term + Eq + FromTerm + Hash, S: BuildHasher + Default,

source§

fn from_quad_source<TS: QuadSource>( quads: TS ) -> StreamResult<Self, TS::Error, Self::Error>

Implementors§