Type Alias json_ld::FlattenResult

source ·
pub type FlattenResult<I, B, M, L> = Result<MetaValue<M>, FlattenError<I, B, M, <L as Loader<I, M>>::Error, <L as ContextLoader<I, M>>::ContextError>>;
Expand description

Result of the JsonLdProcessor::flatten function.

Aliased Type§

enum FlattenResult<I, B, M, L> {
    Ok(Meta<Value<M>, M>),
    Err(FlattenError<I, B, M, <L as Loader<I, M>>::Error, <L as ContextLoader<I, M>>::ContextError>),
}

Variants§

§1.0.0

Ok(Meta<Value<M>, M>)

Contains the success value

§1.0.0

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

Contains the error value