(&self)
| 42 | |
| 43 | impl ServerMode { |
| 44 | pub fn protocol(&self) -> &str { |
| 45 | match self { |
| 46 | Self::Http => "http", |
| 47 | Self::Https => "https", |
| 48 | } |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | // Custom type for Host |
nothing calls this directly
no outgoing calls
no test coverage detected