Expand description
Fault-tolerance and workflow-pattern building blocks.
CircuitBreaker— isolate a failing dependency.RetryPolicy/Backoff— bounded retries with backoff + jitter.DeadLetterQueue— durable parking lot for exhausted tasks.patterns— fan-out/fan-in and pipeline constructors.
Re-exports§
pub use circuit_breaker::CircuitBreaker;pub use circuit_breaker::CircuitState;pub use dead_letter::DeadLetter;pub use dead_letter::DeadLetterQueue;pub use retry::Backoff;pub use retry::RetryPolicy;
Modules§
- circuit_
breaker - A thread-safe circuit breaker.
- dead_
letter - Dead-letter queue for terminally failed tasks.
- patterns
- Helpers for building common workflow shapes.
- retry
- Retry strategies.