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 ๐Ÿ”’
Shared implementation of tcx.ensure_ok().$query(..) for most queries, and tcx.ensure_done().$query(..) for all queries.
query_ensure_error_guaranteed ๐Ÿ”’
Shared implementation of tcx.ensure_ok().$query(..) for queries that have the return_result_from_ensure_ok modifier.
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.