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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§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>,
Source§impl PartialEq for StageFailureKind
impl PartialEq for StageFailureKind
Source§impl Serialize for StageFailureKind
impl Serialize for StageFailureKind
impl Copy for StageFailureKind
impl Eq for StageFailureKind
impl StructuralPartialEq for StageFailureKind
Auto Trait Implementations§
impl Freeze for StageFailureKind
impl RefUnwindSafe for StageFailureKind
impl Send for StageFailureKind
impl Sync for StageFailureKind
impl Unpin for StageFailureKind
impl UnsafeUnpin for StageFailureKind
impl UnwindSafe for StageFailureKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.