Module sleep

Source

Structs§

Sleep

Functions§

sleep
Creates a future that resolves after a specified duration of time. Uses a simple thread based implementation for sleep. A more efficient implementation is available by using the tokio-sleep crate feature.