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§

source

fn should_retry(&self) -> bool

Whether this error is transient.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl RetriableError for TimeoutError

Implementors§