pub struct Deduplicator { /* private fields */ }Expand description
Deduplication store to track seen events
Implementations§
Source§impl Deduplicator
impl Deduplicator
Sourcepub fn is_duplicate(&self, event: &IntakeEvent) -> bool
pub fn is_duplicate(&self, event: &IntakeEvent) -> bool
Check if an event is a duplicate
Sourcepub fn stats(&self) -> DeduplicatorStats
pub fn stats(&self) -> DeduplicatorStats
Get statistics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Deduplicator
impl RefUnwindSafe for Deduplicator
impl Send for Deduplicator
impl Sync for Deduplicator
impl Unpin for Deduplicator
impl UnsafeUnpin for Deduplicator
impl UnwindSafe for Deduplicator
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