pub trait PullerError:
Error
+ Send
+ Sync
+ Unpin
+ 'static {
// Provided method
fn is_irrecoverable(&self) -> bool { ... }
}Expand description
Extension trait for pull errors, distinguishing recoverable from irrecoverable failures.
Provided Methods§
Sourcefn is_irrecoverable(&self) -> bool
fn is_irrecoverable(&self) -> bool
Whether an error is fatal and must not be retried.
The default (false) means the error is recoverable and the engine will
retry after the configured backoff. Implementors must override this to
return true for fatal errors: forgetting to do so lets the engine retry
indefinitely until its backoff gives up.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".