nrc pointed the way in #4, showing that pushing the handshake state enum into handshake.rs cleaned up a lot of things. This is a tracking task for two follow-ons:
- I think we can push the handshake refactor further, and have callers only interact with the handshake enum type rather than both the enum and the inner values.
- A similar refactor applies to session state management, I think: pushing more of the session lifecycle into session.rs should lead to similar improvements.
nrc pointed the way in #4, showing that pushing the handshake state enum into handshake.rs cleaned up a lot of things. This is a tracking task for two follow-ons: