Trait qiniu_objects_manager::prelude::Backoff
[−]pub trait Backoff: Debug + Sync + Send {
fn time(
&self,
request: &mut RequestParts<'_>,
opts: BackoffOptions<'_>
) -> GotBackoffDuration;
}Expand description
退避时长获取接口
Required Methods
fn time(
&self,
request: &mut RequestParts<'_>,
opts: BackoffOptions<'_>
) -> GotBackoffDuration
fn time(
&self,
request: &mut RequestParts<'_>,
opts: BackoffOptions<'_>
) -> GotBackoffDuration
获取退避时长