Expand description
Opt-in recovery of one immutable completion request, never an agent or tool loop.
Structs§
- Admission
Context - Capabilities
- Endpoint facilities declared by a recovery adapter, not permission to retry.
Inspect
RecoveryGateway::capability_evidencefor documentation and limitations. - Capability
Evidence - Documentation supporting one endpoint capability declaration.
- Capability
Evidence Set - Evidence for all five recovery capabilities of one completion adapter.
- Classification
- Failure
- Identity
- Lifecycle
Event - Progress
- Recovered
- Success and its exact wire accounting; response payload is intentionally not serializable here.
- Recovery
Call - Per-call cancellation, independent of remote inference termination.
- Recovery
Error - Recovery
Gateway - One-request recovery adapter. Tool execution stays in the existing broker/session.
- Recovery
Policy - Recovery
Report - Semantic
Progress - System
Timing - Validated
Metadata - Only recognized provider codes and request-ID formats are retained by default.
Enums§
- Acceptance
- Admission
Decision - Category
- Completion
Decode Error - Concrete decoding/termination causes available through
Failure::inspect_cause. Raw provider payloads remain private; serde errors retain their original type. - Operation
- Outcome
- Phase
- Provider
- Reason
- Recovery
Policy Error - Invalid recovery options, rejected before a wrapper can dispatch a request.
Positive attempt counts and nonnegative finite delays are enforced by Rust’s
NonZeroU32andDurationtypes. Base delays above the ceiling are valid. - Recovery
Stream Event - Output and nonsemantic telemetry for one logical completion. Completed and Failed are terminal; progress never proves remote termination.
- Retry
After - Support
- Transition
- Wire
Event - Wire capture is explicit and sensitive. The library never stores captures by default.
Traits§
- Admission
- Only
Allowgrants permission.Unresolvedcompletes without a decision and stops recovery; a pending future stays pending until a decision, cancellation, or expiry. - Lifecycle
Observer - Timing
- Inject both monotonic and wall time, sleep, and full jitter for deterministic tests.
- Wire
Observer