Re-exportsยง
Modulesยง
- action ๐
- callback ๐
- dispatcher ๐
- effects ๐
- instant ๐
- reducer ๐
- service ๐
- store ๐
- sub_
store ๐ - timestamp ๐
Macrosยง
- _callback
- callback
- Creates a callback instance. Must accept a single argument, so
()should be used when no arguments are needed and tuples where more than one value need to be passed.
Structsยง
- Action
Id - Time in nanoseconds from std::time::UNIX_EPOCH.
- Action
Meta - Action with additional metadata like: id.
- Action
With Meta - Action with additional metadata like: id.
- AnyAction
- Callback
- Dispatcher
- Instant
- Store
- Main struct for the state machine.
- System
Time - A measurement of the system clock, useful for talking to external entities like the file system or other processes.
- Timestamp
- Time in nanoseconds from std::time::UNIX_EPOCH.
Staticsยง
Traitsยง
- Enabling
Condition - Service
- SubStore
- Useful when state machine is split into multiple crates. Using this
trait we can pass
Store<GlobalState, Service, GlobalAction>almost as if it wereStore<SubState, Service, SubAction>. - Time
Service - Time service.
Type Aliasesยง
- Effects
- Recursion
Depth - Reducer
- Function signature for a reducer.