Skip to main content

Crate edifact_primitives

Crate edifact_primitives 

Source
Expand description

Shared EDIFACT primitive types.

This crate defines the core data structures used across the EDIFACT parser and automapper pipeline. It has zero external dependencies.

§Types

  • EdifactDelimiters — the six delimiter characters
  • SegmentPosition — byte offset and segment/message numbering
  • RawSegment — zero-copy parsed segment borrowing from the input buffer
  • Control — handler flow control (Continue / Stop)
  • charset — reading and writing an interchange in the character set its UNB declares

Modules§

charset
The character set of an interchange, as its UNB syntax identifier (S001/0001) declares it.

Structs§

EdifactDelimiters
EDIFACT delimiter characters.
RawSegment
A parsed EDIFACT segment that borrows from the input buffer.
SegmentPosition
Position metadata for a parsed EDIFACT segment.

Enums§

Control
Flow control signal returned by handler methods.
UnaParseError
Error when parsing a UNA service string advice segment.