pub enum ParseErrorKind {
Erased(Box<dyn Error + Send + Sync + 'static>),
Json(Error),
ShouldBeAnObject,
}
Expand description
The kind of Error that occurred.
Variants§
Erased(Box<dyn Error + Send + Sync + 'static>)
Some Error types are erased to abvoid leaking dependencies.
Json(Error)
The integrated JSON parser was unable to parse a JSON str.
ShouldBeAnObject
The OCPI object should be a JSON object.
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