Enum json_ld_core::loader::ExtractContextError
source · pub enum ExtractContextError<M> {
Unexpected(Kind),
NoContext,
DuplicateContext(M),
Syntax(InvalidContext),
}
Expand description
Context extraction error.
Variants§
Unexpected(Kind)
Unexpected JSON value.
NoContext
No context definition found.
DuplicateContext(M)
Multiple context definitions found.
Syntax(InvalidContext)
JSON syntax error.
Trait Implementations§
source§impl<M: Debug> Debug for ExtractContextError<M>
impl<M: Debug> Debug for ExtractContextError<M>
Auto Trait Implementations§
impl<M> RefUnwindSafe for ExtractContextError<M>where
M: RefUnwindSafe,
impl<M> Send for ExtractContextError<M>where
M: Send,
impl<M> Sync for ExtractContextError<M>where
M: Sync,
impl<M> Unpin for ExtractContextError<M>where
M: Unpin,
impl<M> UnwindSafe for ExtractContextError<M>where
M: UnwindSafe,
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