Type Alias swipl::result::OptPrologResult
source · pub type OptPrologResult<R> = Result<Option<R>, PrologException>;
Expand description
result type for expressing failure as an Option type instead of an Err.
Aliased Type§
enum OptPrologResult<R> {
Ok(Option<R>),
Err(PrologException),
}