pub type UpdateFn<M> = dyn FnOnce(&mut M) + Send + 'static;
The type of function accepted for model updates.