Enum chomp::buffer::StreamError
[−]
[src]
pub enum StreamError<B: InputBuffer, E> {
ParseError(B, E),
Incomplete,
IoError(Error),
EndOfInput,
Retry,
}Error type for parsing using the Stream trait.
Variants
ParseError(B, E)An error occurred in the parser, the given slice indicates the part which failed.
IncompleteParser failed to complete with the available data.
IoError(Error)An IO-error occurred while attempting to fill the buffer.
EndOfInputThe last parser completed successfully and there is no more input to parse.
RetryThe last parser failed with an incomplete state, fill the buffer and try again.
Filling the buffer is automatic by default.