pub struct SequenceExhausted {
pub counter: SequenceCounter,
}Expand description
Error returned when a sequence counter has reached its maximum value.
FIX sequence numbers are unbounded in the specification, but this
implementation stores them as u64. Once a counter reaches u64::MAX
no further numbers can be allocated: the session must perform a
sequence reset (Logon with ResetSeqNumFlag(141)=Y, or an out-of-band
reset agreed with the counterparty) and then call
SequenceManager::reset before continuing.
Fields§
§counter: SequenceCounterWhich counter was exhausted.
Trait Implementations§
Source§impl Clone for SequenceExhausted
impl Clone for SequenceExhausted
Source§fn clone(&self) -> SequenceExhausted
fn clone(&self) -> SequenceExhausted
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SequenceExhausted
Source§impl Debug for SequenceExhausted
impl Debug for SequenceExhausted
Source§impl Display for SequenceExhausted
impl Display for SequenceExhausted
impl Eq for SequenceExhausted
Source§impl Error for SequenceExhausted
impl Error for SequenceExhausted
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SequenceExhausted
impl PartialEq for SequenceExhausted
impl StructuralPartialEq for SequenceExhausted
Auto Trait Implementations§
impl Freeze for SequenceExhausted
impl RefUnwindSafe for SequenceExhausted
impl Send for SequenceExhausted
impl Sync for SequenceExhausted
impl Unpin for SequenceExhausted
impl UnsafeUnpin for SequenceExhausted
impl UnwindSafe for SequenceExhausted
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