Expand description
What the SDK tells an application about the calls it makes: which operation is running, which HTTP requests it takes, and what each one answered.
Structs§
- Chain
Hooks - Several
Hooksas one. Gates, starts and retries run in order; ends run in reverse, so a hook that wraps the ones after it closes last, the way nested spans do. - Noop
Hooks - Hooks that do nothing. What a client runs with until it is given others, and what a chain of nothing comes to.
- Operation
Info - The semantic identity of a call: the service and operation as the model names them, the kind of record they touch, and whether they change anything.
- Request
Info - One HTTP request the SDK is about to make, or has just made.
attemptcounts from 1 across the whole operation, the resend after a credential refresh included. - Request
Result - How one HTTP request turned out.
Traits§
- Hooks
- The callbacks the SDK makes as it works. Every one does nothing by default, so an implementation says only what it cares about.
Type Aliases§
- Operation
State - Whatever
Hooks::on_operation_starthands the matchingHooks::on_operation_end.