pub trait Dedup<I: Interaction> {
    // Required methods
    fn add_interaction(&mut self, act: I) -> Result<()>;
    fn save(&mut self, path: &Path) -> Result<usize>;
}
Expand description

Interface for de-duplicating interactions.

Required Methods§

source

fn add_interaction(&mut self, act: I) -> Result<()>

Save an item in the deduplciator.

source

fn save(&mut self, path: &Path) -> Result<usize>

Write the de-duplicated reuslts to a file.

Implementors§

source§

impl<I: Interaction, R> Dedup<I> for ActionDedup<R>
where R: FromActionSet + TableRow + Send + Sync + 'static,

source§

impl<I: Interaction, R> Dedup<I> for RatingDedup<R>
where R: FromRatingSet + TableRow + Send + Sync + 'static,