pub enum SequenceEventType {
Valid {
sequence: u8,
},
Duplicate {
sequence: u8,
expected: u8,
},
OutOfOrder {
sequence: u8,
expected: u8,
distance: u8,
},
FatalDesync {
sequence: u8,
expected: u8,
distance: u8,
},
}Expand description
Sequence validation event type for observability.
Variants§
Valid
Valid sequence processed.
Duplicate
Duplicate frame detected (ACK sent, not processed).
OutOfOrder
Out-of-order frame (processed with warning).
FatalDesync
Fatal desync — tunnel restart required.
Trait Implementations§
Source§impl Clone for SequenceEventType
impl Clone for SequenceEventType
Source§fn clone(&self) -> SequenceEventType
fn clone(&self) -> SequenceEventType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SequenceEventType
impl RefUnwindSafe for SequenceEventType
impl Send for SequenceEventType
impl Sync for SequenceEventType
impl Unpin for SequenceEventType
impl UnsafeUnpin for SequenceEventType
impl UnwindSafe for SequenceEventType
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