pest

Type Alias ParseResult

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

Type alias to simplify specifying the return value of chained closures.

Aliased Type§

enum ParseResult<S> {
    Ok(S),
    Err(S),
}

Variants§

§1.0.0

Ok(S)

Contains the success value

§1.0.0

Err(S)

Contains the error value