Trait async_shared_timeout::runtime::Sleep
source · pub trait Sleep {
fn reset(self: Pin<&mut Self>, timeout: Duration);
fn poll_sleep(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<()>;
}
Expand description
A sleep future