Enum json_ld::ExpandError
source · pub enum ExpandError<M, E, C> {
Expansion(Meta<Error<M, C>, M>),
ContextProcessing(Meta<Error<C>, M>),
Loading(E),
ContextLoading(C),
}
Expand description
Error that can be raised by the JsonLdProcessor::expand
function.
Variants§
Expansion(Meta<Error<M, C>, M>)
Document expansion failed.
ContextProcessing(Meta<Error<C>, M>)
Context processing failed.
Loading(E)
Remote document loading failed with the given precise error.
ContextLoading(C)
Remote context loading failed with the given precise error.
Implementations§
Trait Implementations§
source§impl<M, E, C> Display for ExpandError<M, E, C>
impl<M, E, C> Display for ExpandError<M, E, C>
source§impl<M, E, C> Error for ExpandError<M, E, C>
impl<M, E, C> Error for ExpandError<M, E, C>
1.30.0 · 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()
Auto Trait Implementations§
impl<M, E, C> RefUnwindSafe for ExpandError<M, E, C>
impl<M, E, C> Send for ExpandError<M, E, C>
impl<M, E, C> Sync for ExpandError<M, E, C>
impl<M, E, C> Unpin for ExpandError<M, E, C>
impl<M, E, C> UnwindSafe for ExpandError<M, E, C>
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