pub enum GarbledReason {
MissingBeginString,
MalformedBeginString,
MissingBodyLength,
MalformedBodyLength,
BodyLengthMismatch,
MissingMsgType,
MalformedChecksum,
ChecksumMismatch,
FrameTooLarge,
}Variants§
MissingBeginString
It does not start with 8=FIX (so it is not a frame start).
MalformedBeginString
8=FIX present, but no SOH within MAX_BEGIN_STRING_LEN.
MissingBodyLength
The second tag is not 9=.
MalformedBodyLength
BodyLength is empty, contains a non-digit, exceeds the digit cap, or is too large to represent.
BodyLengthMismatch
The BodyLength-implied offset is not a 10= trailer at a field boundary
(i.e. not preceded by SOH, or not 10=).
MissingMsgType
The third field is not 35= (it must directly follow BodyLength).
MalformedChecksum
The CheckSum field is not three digits followed by SOH.
ChecksumMismatch
The calculated checksum does not match the value of CheckSum.
FrameTooLarge
The BodyLength-implied frame length exceeds max_frame_size.
Trait Implementations§
Source§impl Clone for GarbledReason
impl Clone for GarbledReason
impl Copy for GarbledReason
Source§impl Debug for GarbledReason
impl Debug for GarbledReason
impl Eq for GarbledReason
Source§impl PartialEq for GarbledReason
impl PartialEq for GarbledReason
impl StructuralPartialEq for GarbledReason
Auto Trait Implementations§
impl Forget for GarbledReason
impl Freeze for GarbledReason
impl Move for GarbledReason
impl RefUnwindSafe for GarbledReason
impl Send for GarbledReason
impl Sync for GarbledReason
impl Unpin for GarbledReason
impl UnsafeUnpin for GarbledReason
impl UnwindSafe for GarbledReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more