pub type UpdateFn<'f, T, E> = Box<dyn FnOnce(Option<PrevEntry<T>>) -> Result<T, E> + 'f>;
The function type for the update function
pub struct UpdateFn<'f, T, E>(/* private fields */);