pub enum JsonValueExtError {
Custom(String),
PropertyNotFound(String),
PropertyValueNotOfType {
name: String,
not_of_type: &'static str,
},
ValueNotOfType(&'static str),
SerdeJson(Error),
}Variants§
Custom(String)
PropertyNotFound(String)
PropertyValueNotOfType
ValueNotOfType(&'static str)
SerdeJson(Error)
Trait Implementations§
Source§impl Debug for JsonValueExtError
impl Debug for JsonValueExtError
Source§impl Display for JsonValueExtError
impl Display for JsonValueExtError
Source§impl Error for JsonValueExtError
impl Error for JsonValueExtError
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 !RefUnwindSafe for JsonValueExtError
impl !UnwindSafe for JsonValueExtError
impl Freeze for JsonValueExtError
impl Send for JsonValueExtError
impl Sync for JsonValueExtError
impl Unpin for JsonValueExtError
impl UnsafeUnpin for JsonValueExtError
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