Skip to main content

Module types

Module types 

Source
Expand description

Extraction types (RFC-005 §6–§8).

Structs§

ExtractOutput
Extraction result for one file (RFC-005 §7). This payload is cached under the extract-segments:v1 namespace (Appendix A §7).
ExtractedSegment
One extracted, normalized segment with source location.

Enums§

LocationQuality
How precise the recorded location is (RFC-006 §8 vocabulary, shared here because extraction produces the locations).
SegmentKind
Segment classification (RFC-005 §8; feeds RFC-006 chunking).

Traits§

DocumentExtractor
A document extractor (RFC-005 §6). Implementations must:

Functions§

read_error_category
Helper for extractors: classify a read failure (RFC-005 §13).