Functions§
- provided_
to_ erased - This function takes
ProvidedValue
and coverts it to an erasedValue
by allocating it on an arena if the query has thearena_cache
modifier. The value is then erased and returned. This will happen when computing the query using a provider or decoding a stored result.
Type Aliases§
- Key
- Local
Key - Provided
Value - This type alias specifies the type returned from query providers and the type
used for decoding. For regular queries this is the declared returned type
V
, butarena_cache
will use<V as ArenaCached>::Provided
instead. - Storage
- Value