Enum s2n_quic_core::event::builder::DuplicatePacketError
source · pub enum DuplicatePacketError {
Duplicate,
TooOld,
}Variants§
Duplicate
The packet number was already received and is a duplicate.
TooOld
The received packet number was outside the range of tracked packet numbers.
This can happen when packets are heavily delayed or reordered. Currently, the maximum
amount of reordering is limited to 128 packets. For example, if packet number 142
is received, the allowed range would be limited to 14-142. If an endpoint received
packet < 14, it would trigger this event.
Trait Implementations§
source§impl Clone for DuplicatePacketError
impl Clone for DuplicatePacketError
source§fn clone(&self) -> DuplicatePacketError
fn clone(&self) -> DuplicatePacketError
Returns a copy 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 moresource§impl Debug for DuplicatePacketError
impl Debug for DuplicatePacketError
source§impl IntoEvent<DuplicatePacketError> for DuplicatePacketError
impl IntoEvent<DuplicatePacketError> for DuplicatePacketError
fn into_event(self) -> DuplicatePacketError
source§impl IntoEvent<DuplicatePacketError> for SlidingWindowError
impl IntoEvent<DuplicatePacketError> for SlidingWindowError
fn into_event(self) -> DuplicatePacketError
Auto Trait Implementations§
impl RefUnwindSafe for DuplicatePacketError
impl Send for DuplicatePacketError
impl Sync for DuplicatePacketError
impl Unpin for DuplicatePacketError
impl UnwindSafe for DuplicatePacketError
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