pub enum ParseValueError {
Infallible(Infallible),
ParseIntError(ParseIntError),
ParseFloatError(ParseFloatError),
Other(String),
}
Variants§
Trait Implementations§
Source§impl Debug for ParseValueError
impl Debug for ParseValueError
Source§impl Display for ParseValueError
impl Display for ParseValueError
Source§impl Error for ParseValueError
impl Error for ParseValueError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<Infallible> for ParseValueError
impl From<Infallible> for ParseValueError
Source§fn from(source: Infallible) -> Self
fn from(source: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<ParseFloatError> for ParseValueError
impl From<ParseFloatError> for ParseValueError
Source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for ParseValueError
impl From<ParseIntError> for ParseValueError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<ParseValueError> for XmlError
impl From<ParseValueError> for XmlError
Source§fn from(source: ParseValueError) -> Self
fn from(source: ParseValueError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseValueError
impl RefUnwindSafe for ParseValueError
impl Send for ParseValueError
impl Sync for ParseValueError
impl Unpin for ParseValueError
impl UnwindSafe for ParseValueError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more