Skip to main content

Module worker

Module worker 

Source
Expand description

Workers, which handle fetched requests, their Outcomes, and the middleware.

Modules§

middleware
Middleware, which runs around a Worker for every request.

Structs§

FromFn
A Worker backed by an async function, created by from_fn.

Enums§

Outcome
What the crawler should do after a worker handled a request.
Scope
The requests an Outcome::Backoff or Outcome::Abort applies to.

Traits§

IntoOutcome
Conversion into an Outcome, implemented for handler return types.
Worker
Handles one request of a crawl.
WorkerExt
Wraps workers in Middleware.

Functions§

from_fn
Creates a Worker from an async function.