(&self)
| 120 | .peer_addr() |
| 121 | .map_err(|err| NetError::from_io(NetErrorKind::PeerAddress, err))?; |
| 122 | stream |
| 123 | .set_nonblocking(true) |
| 124 | .map_err(|err| NetError::from_io(NetErrorKind::SetNonBlocking, err))?; |
| 125 | Ok(Self { |
| 126 | stream, |
| 127 | peer, |
no outgoing calls
no test coverage detected