quil_rs::program::type_check

Type Alias TypeResult

Source
pub type TypeResult<T> = Result<T, TypeError>;

Aliased Type§

enum TypeResult<T> {
    Ok(T),
    Err(TypeError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TypeError)

Contains the error value