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§

§1.0.0

Ok(Meta<ExpandedDocument<I, B, M>, M>)

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