#[repr(usize)]pub enum Stage {
Show 34 variants
SourceAcquire = 0,
SourceWalk = 1,
SourceRead = 2,
Preprocess = 3,
Phase1Triggers = 4,
BackendDispatch = 5,
HotPatterns = 6,
ConfirmedPatterns = 7,
Phase2Prefilter = 8,
Phase2KeywordAc = 9,
Phase2SharedAc = 10,
Phase2AnchoredVerify = 11,
Phase2WholeChunk = 12,
GenericDetection = 13,
Entropy = 14,
MachineLearning = 15,
Decode = 16,
Suppression = 17,
LiveVerification = 18,
Reporting = 19,
SourceQueueWait = 20,
IncrementalLookup = 21,
BackendSelect = 22,
ResultMerge = 23,
ScannerQueueWait = 24,
AutorouteCalibration = 25,
BoundaryScan = 26,
DetectorLoad = 27,
DetectorValidate = 28,
ExecutionPackSelect = 29,
ExecutionPackMap = 30,
BackendAcquire = 31,
BackendInit = 32,
Teardown = 33,
}Expand description
Stable micro-function identifier shared by scanner, source, verifier, and reporter paths.
Variants§
SourceAcquire = 0
SourceWalk = 1
SourceRead = 2
Preprocess = 3
Phase1Triggers = 4
BackendDispatch = 5
HotPatterns = 6
ConfirmedPatterns = 7
Phase2Prefilter = 8
Phase2KeywordAc = 9
Phase2AnchoredVerify = 11
Phase2WholeChunk = 12
GenericDetection = 13
Entropy = 14
MachineLearning = 15
Decode = 16
Suppression = 17
LiveVerification = 18
Reporting = 19
SourceQueueWait = 20
IncrementalLookup = 21
BackendSelect = 22
ResultMerge = 23
ScannerQueueWait = 24
AutorouteCalibration = 25
Timing a probe scan to choose a backend, not scanning for credentials.
BoundaryScan = 26
Rescanning the seam between adjacent chunks so a match spanning the boundary is not lost. Separated from the phase-2 leaves it sits inside because seam work grows with chunk count, not with input size.
DetectorLoad = 27
Loading detector bytes, cache entries, and parsed specifications.
DetectorValidate = 28
Validating detector selection, policy, and effective corpus identity.
ExecutionPackSelect = 29
Selecting the backend- and policy-specific execution plan generation.
ExecutionPackMap = 30
Materializing the selected execution plan into the scanner runtime.
BackendAcquire = 31
Discovering backend hardware and runtime availability.
BackendInit = 32
Initializing the selected backend runtime and compiled databases.
Teardown = 33
Releasing scanner plans, backend resources, and retained buffers.
Implementations§
Source§impl Stage
impl Stage
Sourcepub const fn metric_id(self) -> MetricId
pub const fn metric_id(self) -> MetricId
Stable metric identifier shared by wire records and runtime storage.
Named explicitly rather than derived from position, so a metric can be appended to the registry without silently re-pointing a stage.
Sourcepub const fn macro_stage_id(self) -> MacroStageId
pub const fn macro_stage_id(self) -> MacroStageId
Stable macro-stage identifier that owns this micro-function.