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()