Type Definition semval::ValidationResult
source · Expand description
Result of a validation
The result is Ok
and empty if the validation succeeded. It is
a validation context wrapped into Err
that carries one or more
invalidities.
In contrast to common results the actual payload is carried by the error variant while a successful result is just the unit type.