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>where
Meta<Error<M, C>, M>: Display,
Meta<Error<C>, M>: Display,
E: Display,
C: Display,
impl<M, E, C> Display for ExpandError<M, E, C>where Meta<Error<M, C>, M>: Display, Meta<Error<C>, M>: Display, E: Display, C: Display,
source§impl<M, E, C> Error for ExpandError<M, E, C>where
Self: Debug + Display,
impl<M, E, C> Error for ExpandError<M, E, C>where Self: Debug + Display,
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>where C: RefUnwindSafe, E: RefUnwindSafe, M: RefUnwindSafe,
impl<M, E, C> Send for ExpandError<M, E, C>where C: Send, E: Send, M: Send,
impl<M, E, C> Sync for ExpandError<M, E, C>where C: Sync, E: Sync, M: Sync,
impl<M, E, C> Unpin for ExpandError<M, E, C>where C: Unpin, E: Unpin, M: Unpin,
impl<M, E, C> UnwindSafe for ExpandError<M, E, C>where C: UnwindSafe, E: UnwindSafe, 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