catlog

Module validate

Source
Expand description

Objects that can validate themselves.

The design is loosely inspired by the validator package, but to support the use case of compositional validation in a library (rather than an application), the validation error type is generic, not string-based.

Traits§

  • An object that can validate itself.

Functions§

  • Unwrap Result with validation errors into a list of errors.
  • Wrap iterator of validation errors into a Result.