pub enum ReplayReason {
Old,
Duplicate,
}Expand description
Reason a replay-rejected packet was dropped.
Variants§
Old
Sequence number falls below the window’s lower edge.
Duplicate
Sequence number inside the window but already marked seen.
Implementations§
Trait Implementations§
Source§impl Clone for ReplayReason
impl Clone for ReplayReason
Source§fn clone(&self) -> ReplayReason
fn clone(&self) -> ReplayReason
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 ReplayReason
Source§impl Debug for ReplayReason
impl Debug for ReplayReason
impl Eq for ReplayReason
Source§impl Hash for ReplayReason
impl Hash for ReplayReason
Source§impl PartialEq for ReplayReason
impl PartialEq for ReplayReason
Source§fn eq(&self, other: &ReplayReason) -> bool
fn eq(&self, other: &ReplayReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReplayReason
Auto Trait Implementations§
impl Freeze for ReplayReason
impl RefUnwindSafe for ReplayReason
impl Send for ReplayReason
impl Sync for ReplayReason
impl Unpin for ReplayReason
impl UnsafeUnpin for ReplayReason
impl UnwindSafe for ReplayReason
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