Type Alias Value

Source
pub type Value<'tcx> = Result<Option<Instance<'tcx>>, ErrorGuaranteed>;

Aliased Type§

pub enum Value<'tcx> {
    Ok(Option<Instance<'tcx>>),
    Err(ErrorGuaranteed),
}

Variants§

§

Ok(Option<Instance<'tcx>>)

Contains the success value

§

Err(ErrorGuaranteed)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.