Structs§
- Beaver
- BusyBeaver: Because sometimes your tasks need to run like a Busy Beaver — tirelessly attempting until they produce the maximum possible success (or hit their busy beaver bound).
- Fixed
Count Builder - Builder for fixed-count retry tasks.
- Periodic
Builder - Builder for periodic tasks.
- Range
Interval Builder - Builder for retry tasks with range-based time intervals.
- TaskId
- Unique task identifier (16-byte UUID, no heap allocation).
- Time
Interval Builder - Builder for time-interval retry tasks.
Enums§
- Beaver
Error - Unified error type for the library.
- Runtime
Error - Runtime error, passed to the caller via Listener.
- Task
- Work
Result - Result of a work execution.
Traits§
- Fixed
Count Progress - Progress callback for fixed-count retry tasks, called before each execution.
- Work
- A unit of work that can be executed and retried.
- Work
Listener - Listener for task lifecycle events.
Functions§
- listener
- Creates a
WorkListenerfrom two closures (without error handling). - listener_
with_ error - Creates a
WorkListenerfrom three closures (with error handling). - work
- Creates a
Workfrom an async closure.
Type Aliases§
- Beaver
Result - Unified Result type for the library.