Trait tor_hsservice::publish::backoff::RetriableError
source · pub(super) trait RetriableError: StdError + Clone {
// Required method
fn should_retry(&self) -> bool;
}
Expand description
A trait for representing retriable errors.
Required Methods§
sourcefn should_retry(&self) -> bool
fn should_retry(&self) -> bool
Whether this error is transient.
Object Safety§
This trait is not object safe.