Type Alias swipl::result::BoolPrologResult

source ·
pub type BoolPrologResult = Result<bool, PrologException>;
Expand description

Result type for expressing failure as a boolean instead of an Err.

Aliased Type§

enum BoolPrologResult {
    Ok(bool),
    Err(PrologException),
}

Variants§

§1.0.0

Ok(bool)

Contains the success value

§1.0.0

Err(PrologException)

Contains the error value