Skip to main content

LeanResult

Type Alias LeanResult 

Source
pub type LeanResult<T> = Result<T, LeanError>;
Expand description

Result alias used by every fallible public API in lean-rs.

Aliased Type§

pub enum LeanResult<T> {
    Ok(T),
    Err(LeanError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LeanError)

Contains the error value