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§

§1.0.0

Ok(bool)

Contains the success value

§1.0.0

Err(ExpandError<M, <L as Loader<I, M>>::Error, <L as ContextLoader<I, M>>::ContextError>)

Contains the error value