Type Alias json_ld::CompareResult
source · pub type CompareResult<I, M, L> = Result<bool, ExpandError<M, <L as Loader<I, M>>::Error, <L as ContextLoader<I, M>>::ContextError>>;
Expand description
Result of the JsonLdProcessor::compare
function.
Aliased Type§
enum CompareResult<I, M, L> {
Ok(bool),
Err(ExpandError<M, <L as Loader<I, M>>::Error, <L as ContextLoader<I, M>>::ContextError>),
}
Variants§
Ok(bool)
Contains the success value
Err(ExpandError<M, <L as Loader<I, M>>::Error, <L as ContextLoader<I, M>>::ContextError>)
Contains the error value