Method
poll_write
(
mut self: Pin<&mut Self>,
_cx: &mut TaskContext<'_>,
buf: &[u8],
)
Source from the content-addressed store, hash-verified
| 612 | |
| 613 | impl AsyncWrite for CaptureFile { |
| 614 | fn poll_write( |
| 615 | mut self: Pin<&mut Self>, |
| 616 | _cx: &mut TaskContext<'_>, |
| 617 | buf: &[u8], |
| 618 | ) -> Poll<std::io::Result<usize>> { |
| 619 | Poll::Ready(self.write(buf)) |
| 620 | } |
| 621 | |
| 622 | fn poll_flush(self: Pin<&mut Self>, _cx: &mut TaskContext<'_>) -> Poll<std::io::Result<()>> { |
| 623 | Poll::Ready(Ok(())) |
Callers
nothing calls this directly
Tested by
no test coverage detected