Type Alias swipl::result::PrologResult

source ·
pub type PrologResult<R> = Result<R, PrologError>;
Expand description

The main result type that most interface functions return.

Aliased Type§

enum PrologResult<R> {
    Ok(R),
    Err(PrologError),
}

Variants§

§1.0.0

Ok(R)

Contains the success value

§1.0.0

Err(PrologError)

Contains the error value