Re-exports§
pub use crate as state;
Structs§
- Hex
- List
- Map
- Maybe
- Pending
Value - Shared
State - Shared state
- StateId
- States
- Subscriber
- A composite key made up of a key and an index into small map.
- Value
- A value that reacts to change.
- Value
Ref - This is a detached value without an associated value type.
- Watcher
Enums§
- Change
- Color
- Representation of terminal colors, following the ANSI spec
- Number
- Path
- SubTo
- Store sub keys. This is used by any type that needs to track any or all the values that it subscribes to.
- Type
- Watched
Traits§
Functions§
- clear_
all_ changes - Clear all changes
- clear_
all_ subs - Remove all subscribers from values.
- drain_
changes - Drain the current changes into a local value.
- drain_
watchers - Drain values from WATCH_QUEUE into the local stack.