Type Alias cranelift_codegen::CodegenResult

source ·
pub type CodegenResult<T> = Result<T, CodegenError>;
Expand description

A convenient alias for a Result that uses CodegenError as the error type.

Aliased Type§

enum CodegenResult<T> {
    Ok(T),
    Err(CodegenError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(CodegenError)

Contains the error value