Skip to main content

ParseResult

Type Alias ParseResult 

Source
pub type ParseResult<T> = Result<T, String>;
Expand description

The result of a parse operation: either a value or a parse error.

Aliased Type§

pub enum ParseResult<T> {
    Ok(T),
    Err(String),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(String)

Contains the error value