IsRetryable

Trait IsRetryable 

Source
pub trait IsRetryable {
    // Required method
    fn is_retryable(&self) -> bool;
}
Expand description

Extension trait for checking if an error is retryable.

Determines whether an error represents a transient failure that warrants a retry attempt. Used by HttpWebhook to decide whether to continue retrying after a failure.

Required Methods§

Source

fn is_retryable(&self) -> bool

Returns true if the error is potentially transient and should be retried.

Implementors§