pub enum ParseErrorKind {
Internal(Box<dyn Error + Send + Sync + 'static>),
Json(Error),
ShouldBeAnObject,
}Expand description
The kind of Error that occurred.
Variants§
Internal(Box<dyn Error + Send + Sync + 'static>)
Some Error types are erased to avoid leaking dependencies.
Json(Error)
The integrated JSON parser was unable to parse a JSON str.
ShouldBeAnObject
The OCPI object should be a JSON object.
Trait Implementations§
Source§impl Debug for ParseErrorKind
impl Debug for ParseErrorKind
Source§impl Display for ParseErrorKind
impl Display for ParseErrorKind
Auto Trait Implementations§
impl Freeze for ParseErrorKind
impl !RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl !UnwindSafe for ParseErrorKind
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