charon_lib::ast::values_utils

Type Alias ScalarResult

source
pub type ScalarResult<T> = Result<T, ScalarError>;
Expand description

Our redefinition of Result - we don’t care much about the I/O part.

Aliased Type§

enum ScalarResult<T> {
    Ok(T),
    Err(ScalarError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ScalarError)

Contains the error value