pub trait Validate: Sealed {
// Required method
fn validate<R>(&self) -> Result<(), Error>
where R: Rule + ?Sized,
Self: Validation<R>;
}
Expand description
Validation
trait’s shim allowing to specify its Rule
as a
method’s type parameter.