Trait roadblk::RegexValidator
source · pub trait RegexValidator<V> {
// Required method
fn validate(regex: &Lazy<Regex>, value: &V) -> Result<(), RegexError>;
}
Required Methods§
Object Safety§
This trait is not object safe.
pub trait RegexValidator<V> {
// Required method
fn validate(regex: &Lazy<Regex>, value: &V) -> Result<(), RegexError>;
}