pub trait QuadSerializer {
    type Error: 'static + Error;
    fn serialize_quads<QS>(
        &mut self,
        source: QS
    ) -> StreamResult<&mut Self, QS::Error, Self::Error>
    where
        QS: QuadSource,
        Self: Sized
; fn serialize_dataset<D>(
        &mut self,
        dataset: &D
    ) -> StreamResult<&mut Self, D::Error, Self::Error>
    where
        D: Dataset,
        Self: Sized
, { ... } }
Expand description

A quad serializer writes quads according to a given format.

Associated Types

Required methods

Serialize all quads from the given QuadSource.

Provided methods

Serialize a whole Dataset.

While this method has a default implementation based on serialize_quads, some implementations may override it in order to better use the structure of the Dataset.

Implementors