(&self, f: &mut std::fmt::Formatter<'_>)
| 16 | |
| 17 | impl std::fmt::Display for Route { |
| 18 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 19 | match self { |
| 20 | Route::Home => write!(f, "Home"), |
| 21 | Route::Session { session_id } => write!(f, "Session: {}", session_id), |
| 22 | Route::Settings => write!(f, "Settings"), |
| 23 | Route::Help => write!(f, "Help"), |
| 24 | } |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | #[derive(Clone, Debug, Default)] |
nothing calls this directly
no outgoing calls
no test coverage detected