Skip to main content

Module message

Module message 

Source
Expand description

FIX message representation, wire encoding, and parsing.

A FIX message is an ordered list of tag=value pairs separated by the SOH control byte (0x01). Every message begins with the standard header fields BeginString(8), BodyLength(9), MsgType(35) and ends with the CheckSum(10) trailer.

FixMessage keeps fields in insertion order in a flat Vec<FixField>. The header ordering (8, 9, 35) and the trailer checksum are materialised only at FixMessage::to_wire time, so callers can FixMessage::set fields in any order.

Modules§

tags

Structs§

FixField
A single tag=value field.
FixMessage
An ordered collection of FIX fields.

Enums§

FixParseError
Errors produced while parsing a FIX frame.
MsgType
A FIX administrative or application message type (tag 35).

Constants§

SOH
The SOH (Start Of Header) delimiter that separates FIX fields on the wire.