Skip to main content

PResult

Type Alias PResult 

Source
pub type PResult<T> = Result<T, Diag>;
Expand description

The result of a parsing function. The error has not been reported yet: the caller either reports it or propagates it to a recovery point.

Aliased Type§

pub enum PResult<T> {
    Ok(T),
    Err(Diag),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Diag)

Contains the error value