pub enum ProbeSpec {
Pair(ProbePair),
Burst(BurstSpec),
HeaderDiff(ProbePair),
}Expand description
The unit of work handed to the probe scheduler.
Each variant encodes a different execution and collection strategy. The
scheduler dispatches on the variant; the analysis layer receives a DifferentialSet
regardless of which variant produced it.
Variants§
Pair(ProbePair)
Standard adaptive loop: one baseline request, one probe request.
Burst(BurstSpec)
Send burst_count requests to the baseline URL, then burst_count to
the probe URL, for statistical timing analysis.
HeaderDiff(ProbePair)
One baseline + one probe; compare full response header sets rather than bodies or status codes.
Implementations§
Source§impl ProbeSpec
impl ProbeSpec
Sourcepub fn chain_provenance(&self) -> Option<&ChainProvenance>
pub fn chain_provenance(&self) -> Option<&ChainProvenance>
Chain provenance — Some when generated by phase-2 DAG walking, else None.
Sourcepub fn with_chain_provenance(self, prov: ChainProvenance) -> Self
pub fn with_chain_provenance(self, prov: ChainProvenance) -> Self
Returns a clone of this spec with chain_provenance set on whichever
variant it carries. Used by generate_dag_chained_plan to attach
provenance after a consumer returns generic specs.