pub type ParseResult<O, I> = Result<(O, Consumed<()>), Consumed<Tracked<<I 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.
I
is the specific stream type used in the parser.
Aliased Type§
enum ParseResult<O, I> {
Ok((O, Consumed<()>)),
Err(Consumed<Tracked<<I as StreamOnce>::Error>>),
}