pub trait DiffSink {
// Required methods
fn only_this(&mut self, row: &OwnedRow);
fn only_other(&mut self, row: &OwnedRow);
fn edit(&mut self, this: &OwnedRow, other: &OwnedRow);
}Expand description
Sink for BTree::diff_visit: one callback per difference, emitted in
descending sort order. “this” is self; “other” is the argument tree.
Required Methods§
Sourcefn only_other(&mut self, row: &OwnedRow)
fn only_other(&mut self, row: &OwnedRow)
A row present in other but not in self.