Skip to content
Durable Workflowrust

Module pagination

Source
Expand description

Namespace-scoped one-page reads and lazy, bounded-memory enumeration.

Iterators fetch only when next().await needs another page. They retain one page, follow the Server’s opaque token, and stop at a null/empty token. An error is returned to the caller and then the iterator ends. Listing follows the Server’s ordering and consistency contract; it is not a snapshot across concurrent changes. No new Server query fields or filter grammar are added.

Structs§

PaginationError
Invalid page metadata that would otherwise truncate or misdirect a read.
WorkflowHistoryIterator
Lazy run-history enumeration. An error is propagated once, then it ends.
WorkflowHistoryOptions
Options accepted by the published run-history API.
WorkflowHistoryPage
Exactly one run-history response, with the existing lossless event model.
WorkflowIterator
Lazy workflow-list enumeration. An error is propagated once, then it ends.
WorkflowListOptions
Filters accepted by the published GET /workflows API.
WorkflowListPage
Exactly one list response. next_page_token indicates more results.
WorkflowSummary
Typed metadata for one listed run. Unknown response fields remain in raw.