(&self)
| 15 | } |
| 16 | |
| 17 | impl ProtocolType { |
| 18 | fn label(self) -> &'static str { |
| 19 | match self { |
| 20 | Self::Rest => "REST", |
| 21 | Self::WebSocket => "WebSocket", |
| 22 | Self::GraphQL => "GraphQL", |
| 23 | Self::Sse => "SSE", |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | fn is_available(self) -> bool { |
no outgoing calls
no test coverage detected