pub struct DistributedDeduplicationManager { /* private fields */ }Expand description
Distributed deduplication manager using external store
Implementations§
Source§impl DistributedDeduplicationManager
impl DistributedDeduplicationManager
pub fn new( config: DeduplicationConfig, store: Arc<dyn DeduplicationStore + Send + Sync>, ) -> Self
pub async fn check_duplicate( &self, message: &DeduplicatedMessage, ) -> Result<DeduplicationResult>
Auto Trait Implementations§
impl Freeze for DistributedDeduplicationManager
impl !RefUnwindSafe for DistributedDeduplicationManager
impl Send for DistributedDeduplicationManager
impl Sync for DistributedDeduplicationManager
impl Unpin for DistributedDeduplicationManager
impl !UnwindSafe for DistributedDeduplicationManager
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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