pub struct Dedupe { /* private fields */ }Expand description
A bounded set of recently-seen msg_ids. Bounded because we only need to
reject replays inside the freshness window; anything older is already
rejected by check_freshness, so unbounded memory would be pointless.
Implementations§
Auto Trait Implementations§
impl Freeze for Dedupe
impl RefUnwindSafe for Dedupe
impl Send for Dedupe
impl Sync for Dedupe
impl Unpin for Dedupe
impl UnsafeUnpin for Dedupe
impl UnwindSafe for Dedupe
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