rune::eval

Type Alias EvalResult

Source
pub(crate) type EvalResult<'ob> = Result<Gc<ObjectType<'ob>>, EvalError>;

Aliased Type§

enum EvalResult<'ob> {
    Ok(Gc<ObjectType<'ob>>),
    Err(EvalError),
}

Variants§

§1.0.0

Ok(Gc<ObjectType<'ob>>)

Contains the success value

§1.0.0

Err(EvalError)

Contains the error value