(self: Pin<&mut Self>, cx: &mut Context<'_>)
| 167 | type Item = io::Result<UnixStream>; |
| 168 | |
| 169 | fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> { |
| 170 | match self.get_mut().listener.poll_accept(cx) { |
| 171 | Poll::Ready(Ok((stream, _addr))) => Poll::Ready(Some(Ok(stream))), |
| 172 | Poll::Ready(Err(err)) => Poll::Ready(Some(Err(err))), |
| 173 | Poll::Pending => Poll::Pending, |
| 174 | } |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | #[tonic::async_trait] |
nothing calls this directly
no outgoing calls
no test coverage detected