Skip to main content

ReplResult

Type Alias ReplResult 

Source
pub type ReplResult<T> = Result<T, ReplError>;
Expand description

Core REPL result type

Aliased Type§

pub enum ReplResult<T> {
    Ok(T),
    Err(ReplError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ReplError)

Contains the error value