pub trait DownloadRetrier: DynClone + Debug + Sync + Send {
    fn retry(
        &self,
        request: &mut dyn CallbackContext,
        opts: DownloadRetrierOptions<'_>
    ) -> RetryResult; }
Expand description

下载重试器

根据 HTTP 客户端返回的错误,决定是否重试请求,重试决定由 RetryDecision 定义。

Required Methods

作出重试决定

Implementations on Foreign Types

Implementors