#[non_exhaustive]pub enum FixSequenceAction {
Accept {
seq_no: u64,
},
Duplicate {
seq_no: u64,
expected: u64,
},
Gap {
expected: u64,
received: u64,
resend: FixResendRange,
},
TooLow {
expected: u64,
received: u64,
},
}Expand description
Result of observing an inbound sequence number.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Accept
The sequence number matched the expected inbound value and should be processed normally.
Duplicate
The sequence number is lower than expected and carries
PossDupFlag(43)=Y, so the caller should ignore it if already applied.
Fields
Gap
The sequence number is higher than expected and a resend request should be emitted for the missing range.
Fields
§
resend: FixResendRangeMissing range to request.
TooLow
The sequence number is lower than expected without a duplicate marker.
Trait Implementations§
Source§impl Clone for FixSequenceAction
impl Clone for FixSequenceAction
impl Copy for FixSequenceAction
Source§impl Debug for FixSequenceAction
impl Debug for FixSequenceAction
impl Eq for FixSequenceAction
Source§impl PartialEq for FixSequenceAction
impl PartialEq for FixSequenceAction
impl StructuralPartialEq for FixSequenceAction
Auto Trait Implementations§
impl Freeze for FixSequenceAction
impl RefUnwindSafe for FixSequenceAction
impl Send for FixSequenceAction
impl Sync for FixSequenceAction
impl Unpin for FixSequenceAction
impl UnsafeUnpin for FixSequenceAction
impl UnwindSafe for FixSequenceAction
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