Expand description
§IronFix Core
Core types, traits, and error definitions for the IronFix FIX protocol engine.
This is the root of the workspace dependency graph: it depends on no other IronFix crate, and every other crate speaks the vocabulary defined here.
- Error types:
FixErrorand its childrenDecodeError,EncodeError,SessionErrorandStoreError, all built withthiserror - Field types:
FieldTag,FieldRef,FieldValue, and theFixFieldtrait - Message types:
RawMessage,OwnedMessage,MsgType, and theFixMessagetrait - Core types:
SeqNum,Timestamp,CompId(an inlineArrayString, not aString), andSide - Protocol versions:
FixVersion, the single mapping from a FIX version to itsBeginString(8) andApplVerID(1128 / 1137)
§Zero-Copy Design
The core abstractions support both zero-copy borrowed views (for hot-path processing) and owned representations (for storage and cross-thread transfer).
Re-exports§
pub use error::CompIdError;pub use error::DecodeError;pub use error::EncodeError;pub use error::FixError;pub use error::InvalidFieldTag;pub use error::InvalidSide;pub use error::MsgTypeError;pub use error::Result;pub use error::SessionError;pub use error::StoreError;pub use error::TimestampError;pub use error::UnknownFixVersion;pub use field::FieldRef;pub use field::FieldTag;pub use field::FieldValue;pub use field::FixField;pub use field::USER_DEFINED_EXT_TAG_MAX;pub use field::USER_DEFINED_EXT_TAG_MIN;pub use field::USER_DEFINED_TAG_MAX;pub use field::USER_DEFINED_TAG_MIN;pub use message::CustomMsgType;pub use message::FixMessage;pub use message::MSG_TYPE_MAX_LEN;pub use message::MsgType;pub use message::OwnedMessage;pub use message::RawMessage;pub use types::COMP_ID_MAX_LEN;pub use types::CompId;pub use types::SeqNum;pub use types::Side;pub use types::Timestamp;pub use version::FixVersion;