ValidatorFn

Type Alias ValidatorFn 

Source
pub type ValidatorFn = fn(&str) -> Result<(), Box<dyn Error + Send + Sync>>;
Expand description

Type for validator functions that validate addresses, references, etc.