Expand description
Retry policies, error classification, and retry execution helpers.
gestura-core-retry provides a small retry domain for transient failures
across APIs, tools, and streaming operations.
§Main concepts
ErrorClass: classify failures as transient, permanent, or unknownRetryPolicy: reusable retry settings including attempts, backoff, and jitterRetryEvent: structured retry notification payloadRetryManager: execute async operations with policy-driven retries
§Built-in policies
The crate includes convenience constructors for common domains:
RetryPolicy::for_api()/RetryManager::for_api()RetryPolicy::for_tools()/RetryManager::for_tools()RetryPolicy::for_streaming()/RetryManager::for_streaming()
§Stable import paths
Most code should import through gestura_core::retry::*.
Structs§
- Retry
Event - Retry event for notification callbacks
- Retry
Manager - Retry manager for executing operations with automatic retry
- Retry
Policy - Retry policy configuration
Enums§
- Error
Class - Error classification for retry decisions
Type Aliases§
- Retry
Callback - Callback type for retry notifications