Trait RetryRule
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§
Object Safety§
This trait is not object safe.