Expand description
Derived query trait and TypeId-based query registry.
All analysis queries implement DerivedQuery. The registry maps each
query type’s TypeId to a shard assignment in the [ShardedCache].
Registration is explicit — no proc macros.
Structs§
- Query
Key - A type-erased query cache key combining the query type’s stable
QUERY_TYPE_IDdiscriminator and the hash of the postcard encoding of the input key. - Query
Registry - Registry mapping query types to shard assignments.
Traits§
- Derived
Query - A derived query whose result is memoized in the [
ShardedCache].