Method
poll_write
(
self: std::pin::Pin<&mut Self>,
_cx: &mut std::task::Context<'_>,
buf: &[u8],
)
Source from the content-addressed store, hash-verified
| 139 | #[cfg(feature = "template-runner")] |
| 140 | impl wasmer_wasix::virtual_fs::AsyncWrite for TailCaptureFile { |
| 141 | fn poll_write( |
| 142 | self: std::pin::Pin<&mut Self>, |
| 143 | _cx: &mut std::task::Context<'_>, |
| 144 | buf: &[u8], |
| 145 | ) -> std::task::Poll<std::io::Result<usize>> { |
| 146 | self.push_tail(buf); |
| 147 | std::task::Poll::Ready(Ok(buf.len())) |
| 148 | } |
| 149 | |
| 150 | fn poll_flush( |
| 151 | self: std::pin::Pin<&mut Self>, |
Callers
nothing calls this directly
Tested by
no test coverage detected