Enum quick_xml::Error [−][src]
pub enum Error {
Show 13 variants
Io(Error),
Utf8(Utf8Error),
UnexpectedEof(String),
EndEventMismatch {
expected: String,
found: String,
},
UnexpectedToken(String),
UnexpectedBang,
TextNotFound,
XmlDeclWithoutVersion(Option<String>),
NameWithQuote(usize),
NoEqAfterName(usize),
UnquotedValue(usize),
DuplicatedAttribute(usize, usize),
EscapeError(EscapeError),
}Expand description
The error type used by this crate.
Variants
IO error
Tuple Fields of Io
0: ErrorUtf8 error
Tuple Fields of Utf8
0: Utf8ErrorUnexpected End of File
Tuple Fields of UnexpectedEof
0: StringEnd event mismatch
Unexpected token
Tuple Fields of UnexpectedToken
0: StringUnexpected <!>
Text not found, expected Event::Text
Event::XmlDecl must start with version attribute
Attribute Name contains quote
Tuple Fields of NameWithQuote
0: usizeAttribute key not followed by with =
Tuple Fields of NoEqAfterName
0: usizeAttribute value not quoted
Tuple Fields of UnquotedValue
0: usizeDuplicate attribute
Escape error