Method
poll_write
(
self: Pin<&mut Self>,
_cx: &mut Context<'_>,
buf: &[u8],
)
Source from the content-addressed store, hash-verified
| 234 | |
| 235 | impl AsyncWrite for CustomOutputStream { |
| 236 | fn poll_write( |
| 237 | self: Pin<&mut Self>, |
| 238 | _cx: &mut Context<'_>, |
| 239 | buf: &[u8], |
| 240 | ) -> Poll<io::Result<usize>> { |
| 241 | Poll::Ready(self.inner.raw_write(buf)) |
| 242 | } |
| 243 | fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<io::Result<()>> { |
| 244 | Poll::Ready(Ok(())) |
| 245 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected