(&mut self)
| 101 | } |
| 102 | impl Drop for Peer { |
| 103 | fn drop(&mut self) { |
| 104 | if let Some(stop) = self.stop.take() { |
| 105 | let _ = stop.send(()); |
| 106 | } |
| 107 | if let Some(task) = self.task.take() { |
| 108 | let _ = task.join(); |
| 109 | } |
| 110 | } |
| 111 | } |
| 112 | fn reply(status: StatusCode, body: Vec<u8>, kind: &str) -> Response { |
| 113 | ( |
nothing calls this directly
no outgoing calls
no test coverage detected