pub trait QueryDescription<CTX: QueryContext>: QueryConfig {
    type Cache: QueryCache<Key = Self::Key, Stored = Self::Stored, Value = Self::Value>;

    fn describe(tcx: CTX, key: Self::Key) -> String;
    fn query_state<'a>(tcx: CTX) -> &'a QueryState<Self::Key>
   where
        CTX: 'a
; fn query_cache<'a>(tcx: CTX) -> &'a Self::Cache
   where
        CTX: 'a
; fn make_vtable(
        tcx: CTX,
        key: &Self::Key
    ) -> QueryVTable<CTX, Self::Key, Self::Value>; fn cache_on_disk(tcx: CTX::DepContext, key: &Self::Key) -> bool; fn execute_query(tcx: CTX::DepContext, k: Self::Key) -> Self::Stored; }

Required Associated Types

Required Methods

Implementors