[][src]Module sophia::quad::stream

A quad source produces quads, and may also fail in the process.

The trait QuadSource provides an API similar to (a subset of) the Iterator API, with methods such as for_each_quad and try_for_each_quad.

Rationale (or Why not simply use Iterator?)

See the documentation of the triple::stream module.

Structs

FilterMapSource

The result of QuadSource::filter_map_quads

FilterMapSourceIterator

An iterator over the result of QuadSource::filter_map_quads

FilterSource

The result of QuadSource::filter_quads

MapSource

The result of QuadSource::map_quads

MapSourceIterator

An iterator over the result of QuadSource::map_quads

Enums

StreamError

A error that is raised by functions that move fallible Sources into fallible Sinks.

Traits

AsQuadSource

A utility extension trait for converting any iterator of Quads into QuadSource, by wrapping its items in Ok results.

QuadSource

A quad source produces quads, and may also fail in the process.

Type Definitions

AsInfallibleSource
QSTerm

Type alias for referencing the TermData used in a QuadSource.

StreamResult

Convenient type alias