[−][src]Module xaynet_server::state_machine::phases
This module provides the PhaseStates
of the StateMachine
.
Structs
Idle | Idle state |
PhaseState | The state corresponding to a phase of the PET protocol. |
Shared | A struct that contains the coordinator state and the I/O interfaces that are shared and
accessible by all |
Shutdown | Shutdown state |
Sum | The sum state. |
Sum2 | The sum2 state. |
Unmask | Unmask state |
Update | The update state. |
Enums
IdleStateError | Error that occurs during the idle phase. |
PhaseName | The name of the current phase. |
PhaseStateError | Error that can occur during the execution of the |
SumStateError | Error that occurs during the sum phase. |
UnmaskStateError | Error that occurs during the unmask phase. |
UpdateStateError | Error that occurs during the update phase. |
Traits
Handler | A trait that must be implemented by a state to handle a request. |
Phase | A trait that must be implemented by a state in order to move to a next state. |