pub type ValidatorFn = fn(&str) -> Result<(), Box<dyn Error + Send + Sync>>;
Type for validator functions that validate addresses, references, etc.