Skip to main content

## ProvidedValue

# Type Alias ProvidedValue

Source

    pub type ProvidedValue<'tcx> = Value<'tcx>;

Expand description

Type returned from query providers and loaded from disk-cache.

## Aliased Type§

    pub enum ProvidedValue<'tcx> {
        Ok(&'tcx Canonical<TyCtxt<'tcx>, QueryResponse<'tcx, NormalizationResult<'tcx>>>),
        Err(NoSolution),
    }

## Variants§

§

### Ok(&'tcx Canonical<TyCtxt<'tcx>, QueryResponse<'tcx, NormalizationResult<'tcx>>>)

Contains the success value

§

### Err(NoSolution)

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.