Enum json_ld::ContextLoadError
source · pub enum ContextLoadError<E> {
LoadingDocumentFailed(E),
ContextExtractionFailed(ExtractContextError),
}
Variants§
LoadingDocumentFailed(E)
ContextExtractionFailed(ExtractContextError)
Trait Implementations§
source§impl<E> Debug for ContextLoadError<E>where
E: Debug,
impl<E> Debug for ContextLoadError<E>where
E: Debug,
source§impl<E> Display for ContextLoadError<E>where
E: Display,
impl<E> Display for ContextLoadError<E>where
E: Display,
source§impl<E> Error for ContextLoadError<E>
impl<E> Error for ContextLoadError<E>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl<E> From<ExtractContextError> for ContextLoadError<E>
impl<E> From<ExtractContextError> for ContextLoadError<E>
source§fn from(source: ExtractContextError) -> ContextLoadError<E>
fn from(source: ExtractContextError) -> ContextLoadError<E>
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for ContextLoadError<E>where
E: Freeze,
impl<E> RefUnwindSafe for ContextLoadError<E>where
E: RefUnwindSafe,
impl<E> Send for ContextLoadError<E>where
E: Send,
impl<E> Sync for ContextLoadError<E>where
E: Sync,
impl<E> Unpin for ContextLoadError<E>where
E: Unpin,
impl<E> UnwindSafe for ContextLoadError<E>where
E: 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