Trait QueryDescription
rustc_query_system::query
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> { ... } }
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>