Type Alias json_ld::ToRdfResult
source · pub type ToRdfResult<'a, V, M, G, L> = Result<ToRdf<'a, 'a, V, M, G>, ToRdfError<M, <L as Loader<<V as IriVocabulary>::Iri, M>>::Error, <L as ContextLoader<<V as IriVocabulary>::Iri, M>>::ContextError>>;
Expand description
Error that can be raised by the JsonLdProcessor::to_rdf
function.
Aliased Type§
enum ToRdfResult<'a, V, M, G, L> {
Ok(ToRdf<'a, 'a, V, M, G>),
Err(ToRdfError<M, <L as Loader<<V as IriVocabulary>::Iri, M>>::Error, <L as ContextLoader<<V as IriVocabulary>::Iri, M>>::ContextError>),
}
Variants§
Ok(ToRdf<'a, 'a, V, M, G>)
Contains the success value
Err(ToRdfError<M, <L as Loader<<V as IriVocabulary>::Iri, M>>::Error, <L as ContextLoader<<V as IriVocabulary>::Iri, M>>::ContextError>)
Contains the error value