Type Alias Validation
Source pub type Validation<T> = Validation<T, NyarError>;
pub enum Validation<T> {
Success {
value: T,
diagnostics: Vec<NyarError>,
},
Failure {
fatal: NyarError,
diagnostics: Vec<NyarError>,
},
}
Verification process complete
Fields
The final product after successful verification
Some diagnostics that does not stop the analysis
Verification process interrupted
Fields
A fatal problem prevents the analysis from continuing
Some diagnostics that does not stop the analysis