Method
poll_write_vectored
(
self: std::pin::Pin<&mut Self>,
_cx: &mut std::task::Context<'_>,
bufs: &[std::io::IoSlice<'_>],
)
Source from the content-addressed store, hash-verified
| 162 | } |
| 163 | |
| 164 | fn poll_write_vectored( |
| 165 | self: std::pin::Pin<&mut Self>, |
| 166 | _cx: &mut std::task::Context<'_>, |
| 167 | bufs: &[std::io::IoSlice<'_>], |
| 168 | ) -> std::task::Poll<std::io::Result<usize>> { |
| 169 | let mut total = 0; |
| 170 | for buf in bufs { |
| 171 | self.push_tail(buf); |
| 172 | total += buf.len(); |
| 173 | } |
| 174 | std::task::Poll::Ready(Ok(total)) |
| 175 | } |
| 176 | |
| 177 | fn is_write_vectored(&self) -> bool { |
| 178 | true |
Callers
nothing calls this directly
Tested by
no test coverage detected