pub type IriExpansionResult<N> = Result<Option<Arc<Term<<N as IriVocabulary>::Iri, <N as BlankIdVocabulary>::BlankId>>>, RejectVocab>;Expand description
Result of expanding a term into an IRI without a loader.
Ok(None) means the term was dropped under Action::Drop, as opposed to
expanding to Term::Null.
Aliased Type§
pub enum IriExpansionResult<N> {
Ok(Option<Arc<Term<<N as IriVocabulary>::Iri, <N as BlankIdVocabulary>::BlankId>>>),
Err(RejectVocab),
}Variants§
Ok(Option<Arc<Term<<N as IriVocabulary>::Iri, <N as BlankIdVocabulary>::BlankId>>>)
Contains the success value
Err(RejectVocab)
Contains the error value