pub struct ReplayGuard { /* private fields */ }Expand description
Guards against replayed messages using a bounded LRU cache.
Must be wrapped in Arc<Mutex<ReplayGuard>> for concurrent use in servers.
Implementations§
Auto Trait Implementations§
impl Freeze for ReplayGuard
impl RefUnwindSafe for ReplayGuard
impl Send for ReplayGuard
impl Sync for ReplayGuard
impl Unpin for ReplayGuard
impl UnsafeUnpin for ReplayGuard
impl UnwindSafe for ReplayGuard
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