Trait rustc_query_system::query::config::QueryDescription[][src]

pub trait QueryDescription<CTX: QueryContext>: QueryAccessors<CTX> {
    fn describe(tcx: CTX, key: Self::Key) -> String;

    fn cache_on_disk(_: CTX, _: &Self::Key, _: Option<&Self::Value>) -> bool { ... }
fn try_load_from_disk(
        _: CTX,
        _: SerializedDepNodeIndex
    ) -> Option<Self::Value> { ... } }

Required methods

Provided methods

Implementors