Module tokio_util::time

source ·
Available on crate feature time only.
Expand description

Additional utilities for tracking time.

This module provides additional utilities for executing code after a set period of time. Currently there is only one:

  • DelayQueue: A queue where items are returned once the requested delay has expired.

This type must be used from within the context of the Runtime.

Modules§

Structs§

Traits§

  • A trait which contains a variety of convenient adapters and utilities for Futures.