cranelift_codegen::verifier

Type Alias VerifierResult

source
pub type VerifierResult<T> = Result<T, VerifierErrors>;
Expand description

Result of a verification operation.

Unlike VerifierStepResult which may be Ok while still having reported errors, this type always returns Err if an error (fatal or not) was reported.

Aliased Type§

enum VerifierResult<T> {
    Ok(T),
    Err(VerifierErrors),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(VerifierErrors)

Contains the error value