Module aws_smithy_async::rt::sleep
source · Expand description
Provides an AsyncSleep trait that returns a future that sleeps for a given duration,
and implementations of AsyncSleep for different async runtimes.
Structs
- Future returned by
AsyncSleep. - Implementation of
AsyncSleepfor Tokio.
Traits
- Async trait with a
sleepfunction.
Functions
- Returns a default sleep implementation based on the features enabled