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: Error
Utf8 error
Tuple Fields of Utf8
0: Utf8Error
Unexpected End of File
Tuple Fields of UnexpectedEof
0: String
End event mismatch
Unexpected token
Tuple Fields of UnexpectedToken
0: String
Unexpected <!>
Text not found, expected Event::Text
Event::XmlDecl
must start with version attribute
Attribute Name contains quote
Tuple Fields of NameWithQuote
0: usize
Attribute key not followed by with =
Tuple Fields of NoEqAfterName
0: usize
Attribute value not quoted
Tuple Fields of UnquotedValue
0: usize
Duplicate attribute
Escape error