pub enum StageFailureKind {
Setup,
Timeout,
Blocked,
Transport,
Extraction,
ReplayDefenseTriggered,
InterstitialRouted,
}Expand description
Failure class recorded per strategy stage.
Variants§
Setup
Stage initialization/setup failed.
Timeout
Stage hit a timeout.
Blocked
Stage reached a known anti-bot block class.
Transport
Transport/runtime failure.
Extraction
Extraction/validation failure.
ReplayDefenseTriggered
Replay-defense policy forced a refresh of the sticky session.
Emitted by AcquisitionRunner::run when the supplied
ReplayDefenseContext
decision (RotationDue / NonceExpired / NonceRotated /
SignatureDrift with force_reset_on_drift = true)
instructs the runner to invalidate the sticky session and
short-circuit. Callers should retry with a fresh session.
InterstitialRouted
Interstitial router short-circuited the run with a
classified decision (Queue / Challenge / HardBlock).
Emitted by AcquisitionRunner::run when the supplied
InterstitialContext
classifies a previously-observed
PageSignature
as a queue / challenge / hard block and the configured
InterstitialPolicy::short_circuit_on_classified
is true (the default). The full
RouterDecision
is attached to AcquisitionResult::interstitial so
downstream tooling can dispatch the dedicated route
without burning through the generic ladder.
Trait Implementations§
Source§impl Clone for StageFailureKind
impl Clone for StageFailureKind
Source§fn clone(&self) -> StageFailureKind
fn clone(&self) -> StageFailureKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for StageFailureKind
Source§impl Debug for StageFailureKind
impl Debug for StageFailureKind
Source§impl<'de> Deserialize<'de> for StageFailureKind
impl<'de> Deserialize<'de> for StageFailureKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for StageFailureKind
Source§impl PartialEq for StageFailureKind
impl PartialEq for StageFailureKind
Source§fn eq(&self, other: &StageFailureKind) -> bool
fn eq(&self, other: &StageFailureKind) -> bool
self and other values to be equal, and is used by ==.