pub enum GarbledReason {
IncompleteMessageData,
MessageNotWellFormed,
InvalidChecksum,
InvalidBeginString,
MsgTypeNotThirdTag,
}Expand description
Why a message could not be framed or parsed as FIX at all.
A garbled message is logged and dropped without a reply - the session
neither rejects it nor advances a sequence number (FIX Session Layer
§4.5.2). The gap it leaves is recovered by the next well-formed message
triggering a ResendRequest.
Variants§
IncompleteMessageData
The byte stream ended before a complete message could be parsed - either
at the framing level (RawMessageError::Incomplete) or inside a field
value whose terminating SOH never appeared.
MessageNotWellFormed
The bytes are present but don’t match the expected framing or field format (e.g. the byte where an SOH separator was expected is something else).
InvalidChecksum
Computed checksum does not match the Checksum(10) value.
InvalidBeginString
BeginString(8) is not a recognized FIX version identifier (bad format
or an unknown version). A recognized but wrong version is not
garbled; it is a LogoutReason::BeginStringMismatch.
MsgTypeNotThirdTag
The third tag of the message is not MsgType(35), as required by the FIX framing rules.