Expand description
Core types for session-message decoupling in easyfix.
This crate defines the contract between the session layer and generated
message code: basic types, base messages, the SessionMessage trait, and
deserialization error types.
§Basic types
Foundational FIX types (FixStr, FixString, SeqNum, UtcTimestamp,
etc.) and user-facing field newtypes (MsgTypeField, SessionStatusField,
SessionRejectReasonField) with their corresponding value traits.
§Base messages
Minimal typed structures (HeaderBase, AdminBase, etc.) containing only
the fields the session needs, plus base enumerations (MsgTypeBase,
SessionStatusBase, etc.) - typed constants for session-relevant FIX
enumeration values. Used by SessionMessage implementations.
§SessionMessage trait
The session layer is generic over M: SessionMessage, so it never names a
concrete message type. SessionMessage and HeaderAccess are
implemented by generated code, bridging session logic to concrete message
definitions.
Modules§
- base_
messages - Base messages and base enumerations - the contract between the session
layer and
SessionMessageimplementations. - basic_
types - The FIX datatypes every message is built from.
- country
- ISO 3166-1 country codes, as the two-character FIX
Countrydatatype. - currency
- ISO 4217 currency codes, as the three-character FIX
Currencydatatype. - deserializer
- Reading FIX tag-value messages.
- language
- ISO 639-1 language codes, as the two-character FIX
Languagedatatype. - message
- The
SessionMessagetrait and related types. - serializer
- Writing FIX tag-value messages.
- version
- FIX protocol version identification.
Macros§
- fix_
format - Creates a
FixStringusing interpolation of runtime expressions, replacing invalid characters by?. - fix_str
- Builds a
&'static FixStrfrom a string literal.