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

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

    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) -> Cow<'static, str>

Loading content...

Provided methods

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

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

Loading content...

Implementors

Loading content...