Enum quick_xml::Error [−][src]
pub enum Error { 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), }
The error type used by this crate.
Variants
Io(Error)
IO error
Utf8(Utf8Error)
Utf8 error
UnexpectedEof(String)
Unexpected End of File
End event mismatch
UnexpectedToken(String)
Unexpected token
Unexpected <!>
Text not found, expected Event::Text
Event::XmlDecl
must start with version attribute
NameWithQuote(usize)
Attribute Name contains quote
NoEqAfterName(usize)
Attribute key not followed by with =
UnquotedValue(usize)
Attribute value not quoted
Duplicate attribute
Escape error
Trait Implementations
impl Debug for Error
[src][+]
impl Display for Error
[src][+]
impl Error for Error
[src][+]
impl From<Error> for Error
[src][+]
impl From<Utf8Error> for Error
[src][+]
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,