Trait aliri_braid::Validator [−][src]
pub trait Validator { type Error: Error + Send + Sync + 'static; fn validate(s: &str) -> Result<(), Self::Error>; }
Expand description
A validator that can verify a given input is valid given certain preconditions