Skip to main content

Module poll_guard

Module poll_guard 

Source
Expand description

Generic poll handler with backoff and error classification.

Encapsulates the retry/backoff/health concerns shared by all polling operations (fills, quotes, account state). Callers get a clean PollOutcome enum and only handle the data path.

Structs§

PollGuard
Per-poll-operation state machine that handles backoff, error classification, and consecutive-empty tracking.

Enums§

PollOutcome
Result of a guarded poll operation.

Traits§

HasItems
Trait to check if a poll result contains actual data.