pub struct WrappedSlidingWindowDetector { /* private fields */ }Expand description
A replay detector for a sequence number that wraps at a known maximum.
SRTP’s 16-bit sequence numbers wrap, so the window has to interpret a large backwards jump as a rollover rather than a replay.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for WrappedSlidingWindowDetector
impl Freeze for WrappedSlidingWindowDetector
impl Move for WrappedSlidingWindowDetector
impl RefUnwindSafe for WrappedSlidingWindowDetector
impl Send for WrappedSlidingWindowDetectorwhere
RawVecInner: Send,
impl Sync for WrappedSlidingWindowDetectorwhere
RawVecInner: Sync,
impl Unpin for WrappedSlidingWindowDetector
impl UnsafeUnpin for WrappedSlidingWindowDetector
impl UnwindSafe for WrappedSlidingWindowDetectorwhere
RawVecInner: UnwindSafe,
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