pub enum ReadError {
XmlReadError(Error),
ParseIntError(ParseIntError),
ParseFloatError(ParseFloatError),
ParseBoolError(ParseBoolError),
TypeNotDefined,
UnknownEnumValue(UnknownEnumValueError),
ParseDateError(ParseError),
XmlAttrError(AttrError),
}Variants§
XmlReadError(Error)
ParseIntError(ParseIntError)
ParseFloatError(ParseFloatError)
ParseBoolError(ParseBoolError)
TypeNotDefined
UnknownEnumValue(UnknownEnumValueError)
ParseDateError(ParseError)
XmlAttrError(AttrError)
Trait Implementations§
source§impl Error for ReadError
impl Error for ReadError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ParseBoolError> for ReadError
impl From<ParseBoolError> for ReadError
source§fn from(source: ParseBoolError) -> Self
fn from(source: ParseBoolError) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for ReadError
impl From<ParseError> for ReadError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseFloatError> for ReadError
impl From<ParseFloatError> for ReadError
source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for ReadError
impl From<ParseIntError> for ReadError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<UnknownEnumValueError> for ReadError
impl From<UnknownEnumValueError> for ReadError
source§fn from(source: UnknownEnumValueError) -> Self
fn from(source: UnknownEnumValueError) -> Self
Converts to this type from the input type.