(&self)
| 99 | |
| 100 | impl Protocol { |
| 101 | pub fn as_str(&self) -> &str { |
| 102 | match self { |
| 103 | Protocol::Tcp => "tcp", |
| 104 | Protocol::Udp => "udp", |
| 105 | } |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | #[derive(Debug, Clone, Deserialize, Serialize)] |
no outgoing calls
no test coverage detected