#[non_exhaustive]pub enum TaskType {
Show 23 variants
RecaptchaV2TaskProxyless,
RecaptchaV2TaskProxylessS9,
RecaptchaV2STaskProxyless,
RecaptchaV2EnterpriseTaskProxyless,
RecaptchaV2SEnterpriseTaskProxyless,
RecaptchaV2Classification,
RecaptchaV3TaskProxyless,
RecaptchaV3TaskProxylessS9,
RecaptchaV3EnterpriseTaskProxyless,
RecaptchaV3EnterpriseTaskProxylessS9,
FuncaptchaTaskProxyless,
FuncaptchaClassification,
PerimeterX,
Hcaptcha,
HcaptchaClassification,
AkamaiWebTaskProxyless,
AkamaiSbsdTaskProxyless,
TlsTask,
Cloudflare5sTask,
CloudflareTurnstileTask,
DataDomeTaskProxyless,
DataDomeTagsTaskProxyless,
IncapsulaTaskProxyless,
}Expand description
Known EzCaptchaSolver task type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
RecaptchaV2TaskProxyless
ReCaptcha V2 proxyless task.
RecaptchaV2TaskProxylessS9
ReCaptcha V2 high-score proxyless task.
RecaptchaV2STaskProxyless
ReCaptcha V2 task carrying the s parameter.
RecaptchaV2EnterpriseTaskProxyless
ReCaptcha V2 Enterprise proxyless task.
RecaptchaV2SEnterpriseTaskProxyless
ReCaptcha V2 Enterprise task carrying the s parameter.
RecaptchaV2Classification
ReCaptcha V2 image classification task.
RecaptchaV3TaskProxyless
ReCaptcha V3 proxyless task.
RecaptchaV3TaskProxylessS9
ReCaptcha V3 high-score proxyless task.
RecaptchaV3EnterpriseTaskProxyless
ReCaptcha V3 Enterprise proxyless task.
RecaptchaV3EnterpriseTaskProxylessS9
ReCaptcha V3 Enterprise high-score proxyless task.
FuncaptchaTaskProxyless
FunCaptcha proxyless task.
FuncaptchaClassification
FunCaptcha image classification task.
PerimeterX
PerimeterX task.
Hcaptcha
HCaptcha token task.
HcaptchaClassification
HCaptcha image classification task.
AkamaiWebTaskProxyless
Akamai Web task.
AkamaiSbsdTaskProxyless
Akamai SBSD task.
TlsTask
TLS forwarding task.
Cloudflare5sTask
Cloudflare five-second challenge task.
CloudflareTurnstileTask
Cloudflare Turnstile task.
DataDomeTaskProxyless
DataDome challenge task.
DataDomeTagsTaskProxyless
DataDome tags task.
IncapsulaTaskProxyless
Incapsula Reese84 task.
Implementations§
Source§impl TaskType
impl TaskType
Sourcepub const KNOWN: &'static [Self]
pub const KNOWN: &'static [Self]
Task types declared by the current EzCaptchaSolver service contract.
Sourcepub const fn mode(&self) -> Option<TaskMode>
pub const fn mode(&self) -> Option<TaskMode>
Returns the execution mode the service documents for this type.
This is informational. Every type has both a solve_* method that
polls and a sync_solve_* method that uses the synchronous endpoint, and
nothing in the SDK consults this value to pick between them.
It matters because the service can reject a type on the endpoint it does not serve — so this is the mode to follow when you have no reason to prefer the other. Such a rejection is refused before billing, so it costs a round trip rather than a task.
Trait Implementations§
impl Copy for TaskType
Source§impl<'de> Deserialize<'de> for TaskType
impl<'de> Deserialize<'de> for TaskType
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 TaskType
impl StructuralPartialEq for TaskType
Source§impl TaskTypeName for TaskType
impl TaskTypeName for TaskType
Source§fn task_type_name(&self) -> &str
fn task_type_name(&self) -> &str
type field.