Skip to main content

RetryPolicy

Trait RetryPolicy 

Source
pub trait RetryPolicy:
    Send
    + Sync
    + 'static {
    // Required method
    fn should_retry(&self, ctx: &RetryContext) -> ControlFlow<(), Duration>;
}
Expand description

Controls how the client reacts when an RPC call fails.

Required Methods§

Implementors§