Returns `true` if the session is idle (no active turn).
(&self)
| 124 | |
| 125 | /// Returns `true` if the session is idle (no active turn). |
| 126 | pub fn is_idle(&self) -> bool { |
| 127 | matches!(self, Phase::Idle) |
| 128 | } |
| 129 | |
| 130 | /// Normalize a string to a Phase, defaulting to `Idle` for unknown values. |
| 131 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected