(&self, id: TcpConnectionId)
| 102 | } |
| 103 | |
| 104 | pub fn tcp_peer_addr(&self, id: TcpConnectionId) -> NetResult<SocketAddr> { |
| 105 | Ok(self.tcp_connection(id)?.peer_addr()) |
| 106 | } |
| 107 | |
| 108 | pub fn udp_addr(&self, id: UdpEndpointId) -> NetResult<SocketAddr> { |
| 109 | Ok(self.udp_endpoint(id)?.local_addr()) |
nothing calls this directly
no test coverage detected