Enum xmlparser::Error [−][src]
pub enum Error {
InvalidToken(TokenType, ErrorPos, Option<StreamError>),
UnexpectedToken(TokenType, ErrorPos),
UnknownToken(ErrorPos),
}An XML parser errors.
Variants
InvalidToken(TokenType, ErrorPos, Option<StreamError>)An invalid token with an optional cause.
UnexpectedToken(TokenType, ErrorPos)An unexpected token.
UnknownToken(ErrorPos)An unknown token.
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Error[src]
impl Display for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for Error[src]
impl Error for Error