Skip to main content

Module inner

Module inner 

Source
Expand description

Helper functions that serve as the immediate implementation of tcx.$query(..) and its variations.

Functionsยง

query_ensure_ok_or_done ๐Ÿ”’
Shared implementation of tcx.ensure_ok().$query(..) and tcx.ensure_done().$query(..) for all queries.
query_ensure_result ๐Ÿ”’
Implementation of tcx.ensure_result().$query(..) for queries that return Result<_, ErrorGuaranteed>.
query_feed ๐Ÿ”’
Common implementation of query feeding, used by define_feedable!.
query_get_at ๐Ÿ”’
Shared implementation of tcx.$query(..) and tcx.at(span).$query(..) for all queries.
try_get_cached ๐Ÿ”’
Checks whether there is already a value for this key in the in-memory query cache, returning that value if present.