Enum json_ld::ToRdfError
source · pub enum ToRdfError<M, E, C> {
Expand(ExpandError<M, E, C>),
}
Expand description
Error that can be raised by the JsonLdProcessor::to_rdf
function.
Variants§
Expand(ExpandError<M, E, C>)
Document expansion failed.
Implementations§
Trait Implementations§
source§impl<M, E, C> Display for ToRdfError<M, E, C>where
ExpandError<M, E, C>: Display,
impl<M, E, C> Display for ToRdfError<M, E, C>where ExpandError<M, E, C>: Display,
source§impl<M, E, C> Error for ToRdfError<M, E, C>where
Self: Debug + Display,
impl<M, E, C> Error for ToRdfError<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 ToRdfError<M, E, C>where C: RefUnwindSafe, E: RefUnwindSafe, M: RefUnwindSafe,
impl<M, E, C> Send for ToRdfError<M, E, C>where C: Send, E: Send, M: Send,
impl<M, E, C> Sync for ToRdfError<M, E, C>where C: Sync, E: Sync, M: Sync,
impl<M, E, C> Unpin for ToRdfError<M, E, C>where C: Unpin, E: Unpin, M: Unpin,
impl<M, E, C> UnwindSafe for ToRdfError<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