Type Alias konst::parsing::ParseValueResult

source ·
pub type ParseValueResult<'a, T, E = ParseError<'a>> = Result<(T, Parser<'a>), E>;
Expand description

Result alias for functions that parse values.

Aliased Type§

enum ParseValueResult<'a, T, E = ParseError<'a>> {
    Ok((T, Parser<'a>)),
    Err(E),
}

Variants§

§1.0.0

Ok((T, Parser<'a>))

Contains the success value

§1.0.0

Err(E)

Contains the error value