pub trait RetryRule<S, R, E>:
Sealed<(S, R, E)>
+ Send
+ Sync
+ 'static {
// Required method
fn retry(
&self,
ctx: Context<S>,
result: Result<R, E>,
) -> impl Future<Output = (Context<S>, Result<R, E>, bool)> + Send + '_;
}
Expand description
A trait that is used to umbrella-cover all possible implementation kinds for the retry rule functionality.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.