pub trait Backoff: DynClone + Debug + Sync + Send {
    fn time(
        &self,
        request: &mut HttpRequestParts<'_>,
        opts: BackoffOptions<'_>
    ) -> GotBackoffDuration; }
Expand description

退避时长获取接口

Required Methods§

获取退避时长

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Implementations on Foreign Types§

Implementors§