Expand description
Core traits and helper types shared by Statum crates.
Most users reach these through the top-level statum crate. This crate
holds the small runtime surface that macro-generated code targets:
- state marker traits
- transition capability traits
- runtime error and result types
- projection helpers for event-log style rebuilds
Modules§
- projection
- Event-stream projection helpers for Statum rebuild flows.
Structs§
- Machine
Descriptor - Rust-facing identity for a machine family.
- Machine
Graph - Structural machine graph emitted from macro-generated metadata.
- Machine
Presentation - Optional human-facing metadata layered on top of a machine graph.
- Machine
Presentation Descriptor - Optional machine-level presentation metadata.
- Recorded
Transition - A runtime record of one chosen transition.
- State
Descriptor - Static descriptor for one generated state id.
- State
Presentation - Optional state-level presentation metadata.
- Transition
Descriptor - Static descriptor for one transition site.
- Transition
Inventory - Runtime accessor for transition descriptors that may be supplied by a distributed registration surface.
- Transition
Presentation - Optional transition-level presentation metadata.
Enums§
- Error
- Errors returned by Statum runtime helpers.
Traits§
- CanTransition
Map - A machine that can transition by mapping its current state data into
Next. - CanTransition
To - A machine that can transition directly to
Next. - CanTransition
With - A machine that can transition using
Data. - Data
State - A generated state marker that carries payload data.
- Machine
Introspection - Static introspection surface emitted for a generated Statum machine.
- Machine
State Identity - Identity for one concrete machine state.
- Machine
Transition Recorder - Runtime recording helpers layered on top of static machine introspection.
- State
Marker - A generated state marker type.
- Unit
State - A generated state marker with no payload.
Type Aliases§
- Result
- Convenience result alias used by Statum APIs.