Re-exports§
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.