Merger

Type Alias Merger 

Source
pub type Merger<Val, Ctx> = Box<dyn FnOnce(Val, Val, &Ctx) -> MergeResult<Val>>;
Expand description

A merger function that receives the previous and next values, the current context, and can return a MergeError on failure.

Aliased Typeยง

pub struct Merger<Val, Ctx>(/* private fields */);