Expand description
Configuration types for durable execution operations.
This module provides type-safe configuration structs for all durable operations including steps, callbacks, invocations, map, and parallel operations.
§Performance Configuration
The SDK supports different checkpointing modes that trade off between
durability and performance. See CheckpointingMode for details.
§Sealed Traits
The RetryStrategy trait is sealed and cannot be implemented outside of this crate.
This allows the SDK maintainers to evolve the retry interface without breaking
external code.
Structs§
- Callback
Config - Configuration for callback operations.
- Child
Config - Configuration for child context operations.
- Completion
Config - Configuration defining success/failure criteria for concurrent operations.
- Custom
Retry - Custom retry strategy wrapper.
- Exponential
Backoff - Exponential backoff retry strategy.
- Exponential
Backoff Builder - Builder for
ExponentialBackoff. - Fixed
Delay - Fixed delay retry strategy.
- Invoke
Config - Configuration for invoke operations.
- Item
Batcher - Configuration for batching items in map operations.
- Linear
Backoff - Linear backoff retry strategy.
- MapConfig
- Configuration for map operations.
- NoRetry
- No retry strategy - fails immediately on first error.
- Parallel
Config - Configuration for parallel operations.
- Retryable
Error Filter - Declarative filter for retryable errors.
- Step
Config - Configuration for step operations.
- Wait
Strategy Config - Configuration for creating a wait strategy.
Enums§
- Checkpointing
Mode - Checkpointing mode that controls the trade-off between durability and performance.
- Error
Pattern - Pattern for matching retryable errors.
- Jitter
Strategy - Jitter strategy for retry delays.
- Step
Semantics - Execution semantics for step operations.
- Wait
Decision - Decision returned by a wait strategy.
Traits§
- Retry
Strategy - Retry strategy trait for configuring step retry behavior.
- SerDes
Any - Type-erased SerDes trait for storing in config structs.
Functions§
- create_
wait_ strategy - Creates a wait strategy function from the given configuration.
- custom_
retry - Custom retry strategy using a user-provided closure.
Type Aliases§
- Context
Config - Type alias for ChildConfig for consistency with the design document.