(self: Pin<&mut Self>, _: &mut Context<'_>, buf: &[u8])
| 286 | |
| 287 | impl AsyncWrite for Segment { |
| 288 | fn poll_write(self: Pin<&mut Self>, _: &mut Context<'_>, buf: &[u8]) -> Poll<io::Result<usize>> { |
| 289 | Poll::Ready(self.get_mut().write(buf)) |
| 290 | } |
| 291 | |
| 292 | fn poll_flush(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<io::Result<()>> { |
| 293 | Poll::Ready(Ok(())) |