Module state
tokio
1.44.2
Module state
Module Items
Structs
Constants
In tokio::
sync::
watch
Modules
big_notify
error
state
Structs
Receiver
Ref
Sender
Shared
Functions
changed_impl
channel
maybe_changed
tokio
::
sync
::
watch
Module
state
Copy item path
Settings
Help
Summary
Source
Structs
§
Atomic
State
🔒
The state stored in an atomic integer.
State
Snapshot
🔒
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
§
CLOSED_
BIT
🔒
STEP_
SIZE
🔒