Module tokio::time::clock

source ·
Expand description

Source of time abstraction.

By default, std::time::Instant::now() is used. However, when the test-util feature flag is enabled, the values returned for now() are configurable.

Structs§

Functions§