Expand description
Session phase finite state machine and shared session state.
SessionPhase — lifecycle phase enum with validated transitions.
SessionState — shared state struct (phase, turns, resume handle).
Invalid transitions return Err(SessionError::InvalidTransition).
The phase is observable via a watch::Receiver<SessionPhase> channel.
Structs§
- Session
State - Shared session state, accessible from the SessionHandle.
Enums§
- Session
Phase - The lifecycle phase of a Gemini Live session.