Enum parser_combinators::primitives::Error
[−]
[src]
pub enum Error<T> {
Unexpected(T),
Expected(Info<T>),
Message(Info<T>),
Other(Box<StdError + Send>),
}Enum used to store information about an error that has occured
Variants
Unexpected(T)Error indicating an unexpected token has been encountered in the stream
Expected(Info<T>)Error indicating that the parser expected something else
Message(Info<T>)Generic message
Other(Box<StdError + Send>)Variant for containing other types of errors
Trait Implementations
impl<T: Debug> Debug for Error<T>[src]
impl<T: PartialEq> PartialEq for Error<T>[src]
fn eq(&self, other: &Error<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.