Expand description
Lifecycle states of an IoContext.
A state is a type: operations are only defined on the IoContext<State>
where they are legal, and a transition consumes the old state to yield the
new one, so illegal lifecycles fail to compile.
Modules§
- sealed 🔒
Structs§
- Accepted
Acceptedrequest-lifecycle state marker (zero-sized).- Completed
Completedrequest-lifecycle state marker (zero-sized).- Pending
- Deferred (STATUS_PENDING) state: an interim reply was sent and the final reply is owed. Carries the async correlation id so it is only reachable once a request has actually been deferred — you cannot complete work that was never parked.