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

fn describe(tcx: CTX, key: Self::Key) -> String[src]

Loading content...

Provided methods

fn cache_on_disk(_: CTX, _: &Self::Key, _: Option<&Self::Value>) -> bool[src]

fn try_load_from_disk(_: CTX, _: SerializedDepNodeIndex) -> Option<Self::Value>[src]

Loading content...

Implementors

Loading content...