Skip to main content

DefaultSleeper

Type Alias DefaultSleeper 

Source
pub type DefaultSleeper = TokioSleeper;
Expand description

导出 backon 实现失败重试 The default implementation of Sleeper while feature tokio-sleep enabled.

it uses tokio::time::sleep.

Aliased Type§

pub struct DefaultSleeper;