Skip to main content

Module result

Module result 

Source
Expand description

Fetch result envelope (the JSON the agent reads on success).

Structs§

EscalationReason
Canonical escalation_reason strings emitted in Trace.escalation_reason. The wire format is Option<String>; these constants and constructors are the single source of values so agents can match without string-parsing surprise.
FetchError
Fetch-only failure envelope data. This keeps the global Error contract unchanged while allowing afhttp fetch to include the in-progress trace.
FetchResult
Result of a successful fetch. Serialized verbatim into the response envelope; the protocol writer adds the outer code: "fetch" tag.
NextAction
Trace
TraceStage
Warning

Enums§

NextActionKind
PageKind
Machine-readable classification for pages that are mechanically loaded but not trustworthy target content (for example Cloudflare/Turnstile walls).
RenderDecision
TraceRenderMode
Wire-stable serialization of the --render mode for Trace.render_mode. Kept separate from pipeline::RenderMode so the SDK exposes the trace shape without callers having to depend on the pipeline module.
TraceStageStatus