Improved documentation, restructured the Message state machine.
Now if a method of the machine is called it will move the FSM
to another state and always the same state except if an error
occurs. For this reason the new FSM is more understandable.
Also it occupies 8 bytes less of storage.
Which messages contain a body in defined in RFC 7230
I have also created a graph of the state machine. It could be included in the documentation once rustdoc gains support for embedding images.
Improved documentation, restructured the Message state machine. Now if a method of the machine is called it will move the FSM to another state and always the same state except if an error occurs. For this reason the new FSM is more understandable. Also it occupies 8 bytes less of storage.
Which messages contain a body in defined in RFC 7230
I have also created a graph of the state machine. It could be included in the documentation once rustdoc gains support for embedding images.
Source code: