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§

§1.0.0

Ok(ToRdf<'a, 'a, V, M, G>)

Contains the success value

§1.0.0

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