Type Alias combine::StdParseResult

source ·
pub type StdParseResult<O, Input> = Result<(O, Commit<()>), Commit<Tracked<<Input as StreamOnce>::Error>>>;
Expand description

A type alias over the specific Result type used by parsers to indicate whether they were successful or not. O is the type that is output on success. Input is the specific stream type used in the parser.

Aliased Type§

enum StdParseResult<O, Input> {
    Ok((O, Commit<()>)),
    Err(Commit<Tracked<<Input as StreamOnce>::Error>>),
}

Variants§

§1.0.0

Ok((O, Commit<()>))

Contains the success value

§1.0.0

Err(Commit<Tracked<<Input as StreamOnce>::Error>>)

Contains the error value