1use std::fmt;
2
3#[derive(Debug)]
4pub(crate) enum Route {
5 Gateway,
6}
7
8impl fmt::Display for Route {
9 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
10 use Route::*;
11 let s = match self {
12 Gateway => "gateway",
13 };
14
15 write!(f, "{}", s)
16 }
17}