Type Alias amq_protocol::frame::ParserError
source · pub type ParserError = Err<ParserErrors>;
Expand description
Error returned by parsers
Aliased Type§
enum ParserError {
Incomplete(Needed),
Error(ParserErrors),
Failure(ParserErrors),
}
Variants§
Incomplete(Needed)
There was not enough data
Error(ParserErrors)
The parser had an error (recoverable)
Failure(ParserErrors)
The parser had an unrecoverable error: we got to the right branch and we know other branches won’t work, so backtrack as fast as possible