[−][src]Type Definition semval::Result
type Result<V> = Result<(), Context<V>>;
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.