tokio::sync::watch

Module state

Source

Structs§

  • The state stored in an atomic integer.
  • Snapshot of the state. The first bit is used as the CLOSED bit. The remaining bits are used as the version.
  • Version 🔒
    The version part of the state. The lowest bit is always zero.

Constants§