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

An error occurred in the parser, the given slice indicates the part which failed.

Parser failed to complete with the available data.

An IO-error occurred while attempting to fill the buffer.

The last parser completed successfully and there is no more input to parse.

The last parser failed with an incomplete state, fill the buffer and try again.

Filling the buffer is automatic by default.

Trait Implementations

impl<B: Debug + InputBuffer, E: Debug> Debug for StreamError<B, E>
[src]

Formats the value using the given formatter.

impl<B: InputBuffer, E: PartialEq<E>> PartialEq for StreamError<B, E>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.