Skip to main content

Module plumbing

Module plumbing 

Source

ModulesΒ§

sealed πŸ”’

MacrosΒ§

define_callbacks πŸ”’
if_arena_cache πŸ”’
if_return_result_from_ensure_ok πŸ”’
if_separate_provide_extern πŸ”’
item_if_feedable πŸ”’
query_helper_param_ty πŸ”’

StructsΒ§

CycleError
CyclePlaceholder
QueryState
For a particular query, keeps track of β€œactive” keys, i.e. keys whose evaluation has started but has not yet finished successfully.
QuerySystem
QueryVTable
Stores data and metadata (e.g. function pointers) for a particular query.
TyCtxtAt
TyCtxtEnsureDone
TyCtxtEnsureOk

EnumsΒ§

ActiveKeyStatus
For a particular query and key, tracks the status of a query evaluation that has started, but has not yet finished successfully.
CycleErrorHandling
How a particular query deals with query cycle errors.
EnsureMode
Distinguishes between tcx.ensure_ok() and tcx.ensure_done() in shared code paths that handle both modes.
QueryMode

TraitsΒ§

IntoQueryParam
An analogue of the Into trait that’s intended only for query parameters.

FunctionsΒ§

default_extern_query πŸ”’
default_query πŸ”’

Type AliasesΒ§

HashResult
IsLoadableFromDiskFn
TryLoadFromDiskFn
WillCacheOnDiskForKeyFn