pub trait RetryExt<T> {
// Required method
fn with_retry(
self,
config: &RetryConfig,
) -> impl Future<Output = MovementResult<T>>;
}Expand description
Extension trait for adding retry capability to futures.
Required Methods§
Sourcefn with_retry(
self,
config: &RetryConfig,
) -> impl Future<Output = MovementResult<T>>
fn with_retry( self, config: &RetryConfig, ) -> impl Future<Output = MovementResult<T>>
Executes this future with the given retry config.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".