Trait aws_smithy_async::rt::sleep::AsyncSleep[][src]

pub trait AsyncSleep: Debug + Send + Sync {
    fn sleep(&self, duration: Duration) -> Sleep
Notable traits for Sleep
impl Future for Sleep type Output = ();
; }
Expand description

Async trait with a sleep function.

Required methods

Returns a future that sleeps for the given duration of time.

Implementations on Foreign Types

Implementors