pub enum PlannerTerminal {
PageCaptchaFree,
HopBudgetExhausted,
TimeBudgetExhausted,
Stuck {
kind: DetectedCaptcha,
hops: u32,
},
HardBlocked,
}Expand description
Why the planner stopped.
Variants§
PageCaptchaFree
Best case — detect() reports no captcha after the last hop.
HopBudgetExhausted
max_hops consumed; page still has a captcha.
TimeBudgetExhausted
total_budget wall-clock elapsed mid-hop.
Stuck
stuck_threshold consecutive hops left the same challenge
kind active. Retrying won’t help.
HardBlocked
Page transitioned to a known block screen (“access denied” / “blocked” / “rate limited”).
Trait Implementations§
Source§impl Clone for PlannerTerminal
impl Clone for PlannerTerminal
Source§fn clone(&self) -> PlannerTerminal
fn clone(&self) -> PlannerTerminal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlannerTerminal
impl Debug for PlannerTerminal
Source§impl PartialEq for PlannerTerminal
impl PartialEq for PlannerTerminal
Source§fn eq(&self, other: &PlannerTerminal) -> bool
fn eq(&self, other: &PlannerTerminal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PlannerTerminal
impl StructuralPartialEq for PlannerTerminal
Auto Trait Implementations§
impl Freeze for PlannerTerminal
impl RefUnwindSafe for PlannerTerminal
impl Send for PlannerTerminal
impl Sync for PlannerTerminal
impl Unpin for PlannerTerminal
impl UnsafeUnpin for PlannerTerminal
impl UnwindSafe for PlannerTerminal
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.