Type Alias ExpandResult

Source
pub type ExpandResult<I, B> = Result<ExpandedDocument<I, B>, ExpandError>;
Expand description

Result returned by the JsonLdProcessor::expand function.

Aliased Type§

pub enum ExpandResult<I, B> {
    Ok(ExpandedDocument<I, B>),
    Err(ExpandError),
}

Variants§

§1.0.0

Ok(ExpandedDocument<I, B>)

Contains the success value

§1.0.0

Err(ExpandError)

Contains the error value