pub enum UrlEncodedError {
InvalidNumber(String, String),
UnsupportedShape(String),
UnsupportedType(String),
}
Expand description
Errors that can occur during URL encoded form data deserialization.
Variants§
InvalidNumber(String, String)
The field value couldn’t be parsed as a number.
UnsupportedShape(String)
The shape is not supported for deserialization.
UnsupportedType(String)
The type is not supported for deserialization.
Trait Implementations§
Source§impl Debug for UrlEncodedError
impl Debug for UrlEncodedError
Source§impl Display for UrlEncodedError
impl Display for UrlEncodedError
Source§impl Error for UrlEncodedError
impl Error for UrlEncodedError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for UrlEncodedError
impl RefUnwindSafe for UrlEncodedError
impl Send for UrlEncodedError
impl Sync for UrlEncodedError
impl Unpin for UrlEncodedError
impl UnwindSafe for UrlEncodedError
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