pub enum DuplicateDecision {
New,
Duplicate,
}Expand description
Duplicate suppression decision for a packet byte sequence.
Variants§
New
Packet bytes were not seen in the retained window.
Duplicate
Packet bytes match a retained packet in the window.
Implementations§
Trait Implementations§
Source§impl Clone for DuplicateDecision
impl Clone for DuplicateDecision
Source§fn clone(&self) -> DuplicateDecision
fn clone(&self) -> DuplicateDecision
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 moreSource§impl Debug for DuplicateDecision
impl Debug for DuplicateDecision
Source§impl PartialEq for DuplicateDecision
impl PartialEq for DuplicateDecision
Source§fn eq(&self, other: &DuplicateDecision) -> bool
fn eq(&self, other: &DuplicateDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DuplicateDecision
impl Eq for DuplicateDecision
impl StructuralPartialEq for DuplicateDecision
Auto Trait Implementations§
impl Freeze for DuplicateDecision
impl RefUnwindSafe for DuplicateDecision
impl Send for DuplicateDecision
impl Sync for DuplicateDecision
impl Unpin for DuplicateDecision
impl UnsafeUnpin for DuplicateDecision
impl UnwindSafe for DuplicateDecision
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