Module tokio::runtime::time::wheel

source ยท

Modulesยง

Structsยง

  • Wheel ๐Ÿ”’
    Timing wheel implementation.

Constantsยง

  • MAX_DURATION ๐Ÿ”’
    The maximum duration of a Sleep.
  • NUM_LEVELS ๐Ÿ”’
    Number of levels. Each level has 64 slots. By using 6 levels with 64 slots each, the timer is able to track time up to 2 years into the future with a precision of 1 millisecond.

Functionsยง