pub trait CustomValidator<T: InputType> {
    fn check(&self, value: &T) -> Result<(), String>;
}
Expand description

Represents a custom input value validator.

Required Methods

Check the value is valid.

Implementors