Skip to main content

Module execution

Module execution 

Source

Structsยง

ActiveJobGuard ๐Ÿ”’
Guard object representing the responsibility to execute a query job and mark it as completed.
EnsureCanSkip ๐Ÿ”’
Return value struct for check_if_ensure_can_skip_execution.

Functionsยง

all_inactive ๐Ÿ”’
check_if_ensure_can_skip_execution ๐Ÿ”’
Checks whether a tcx.ensure_ok() or tcx.ensure_done() query call can return early without actually trying to execute.
cycle_error ๐Ÿ”’
equivalent_key ๐Ÿ”’
execute_job ๐Ÿ”’
execute_job_incr ๐Ÿ”’
execute_job_non_incr ๐Ÿ”’
execute_query_incr_inner ๐Ÿ”’
Called by a macro-generated impl of QueryVTable::execute_query_fn, in incremental mode.
execute_query_non_incr_inner ๐Ÿ”’
Called by a macro-generated impl of QueryVTable::execute_query_fn, in non-incremental mode.
expect_job ๐Ÿ”’
Obtains the enclosed QueryJob, or panics if this query evaluation was poisoned by a panic.
force_query ๐Ÿ”’
gather_active_jobs ๐Ÿ”’
Internal plumbing for collecting the set of active jobs for this query.
load_from_disk_or_invoke_provider_green ๐Ÿ”’
Given that the dep node for this query+key is green, obtain a value for it by loading one from disk if possible, or by invoking its query provider if necessary.
mk_cycle ๐Ÿ”’
try_execute_query ๐Ÿ”’
Shared main part of both execute_query_incr_inner and execute_query_non_incr_inner.
wait_for_query ๐Ÿ”’