Skip to main content

ReadResult

Type Alias ReadResult 

Source
pub type ReadResult<'source, N, D, G> = Result<Located<Value<'source>, N, D, G>, Located<Cause, N, D, G>>;
Expand description

One parsed material value or its unchanged cause, both in the original source.

Aliased Type§

pub enum ReadResult<'source, N, D, G> {
    Ok(Located<Value<'source>, N, D, G>),
    Err(Located<Cause, N, D, G>),
}

Variants§

§1.0.0

Ok(Located<Value<'source>, N, D, G>)

Contains the success value

§1.0.0

Err(Located<Cause, N, D, G>)

Contains the error value