pub fn set_alert(alert: impl Fn(&str) + Send + Sync + 'static)Expand description
Sets what is told when the registry refuses a value or degrades its matching: one line with the counts, never a value. Called outside the registry’s lock, so it may read or write the registry. The first call wins.