Type Alias ParseResult

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

A specialized Result type for parsing shell commands.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ParseError<E>)

Contains the error value