pub type MergeFn<K, V> = fn(&MergeLayerIterator<'_, K, V>, &MergeLayerIterator<'_, K, V>) -> MergeResult<K, V>;
Expand description
Users must provide a merge function which will take pairs of items, left and right, and return a merge result. The left item’s key will either be less than the right item’s key, or if they are the same, then the left item will be in a lower layer index (lower layer indexes indicate more recent entries). The last remaining item is always emitted.