Type Alias json_ld::ExpandResult
source · pub type ExpandResult<I, B, M, L> = Result<Meta<ExpandedDocument<I, B, M>, M>, ExpandError<M, <L as Loader<I, M>>::Error, <L as ContextLoader<I, M>>::ContextError>>;
Expand description
Error that can be raised by the JsonLdProcessor::expand
function.
Aliased Type§
enum ExpandResult<I, B, M, L> {
Ok(Meta<ExpandedDocument<I, B, M>, M>),
Err(ExpandError<M, <L as Loader<I, M>>::Error, <L as ContextLoader<I, M>>::ContextError>),
}
Variants§
Ok(Meta<ExpandedDocument<I, B, M>, M>)
Contains the success value
Err(ExpandError<M, <L as Loader<I, M>>::Error, <L as ContextLoader<I, M>>::ContextError>)
Contains the error value