pub type Error = DeserializeError<XmlError>;Expand description
Error type for Atom parsing
Aliased Type§
pub enum Error {
Parser(XmlError),
Reflect(ReflectError),
Alloc(AllocError),
ShapeMismatch(ShapeMismatchError),
UnexpectedEof {
expected: &'static str,
},
TypeMismatch {
expected: &'static str,
got: String,
},
UnknownElement {
tag: String,
},
UnknownAttribute {
name: String,
},
MissingAttribute {
name: &'static str,
},
Unsupported(String),
}Variants§
Parser(XmlError)
Parser error.
Reflect(ReflectError)
Reflection error.
Alloc(AllocError)
Allocation error.
ShapeMismatch(ShapeMismatchError)
Shape mismatch error.
UnexpectedEof
Unexpected end of input.
TypeMismatch
Type mismatch.
UnknownElement
Unknown element.
UnknownAttribute
Unknown attribute (when deny_unknown_fields is set).
MissingAttribute
Missing required attribute.
Unsupported(String)
Unsupported type.