Method
poll_write_vectored
(
self: Pin<&mut Self>,
_cx: &mut TaskContext<'_>,
bufs: &[io::IoSlice<'_>],
)
Source from the content-addressed store, hash-verified
| 145 | } |
| 146 | |
| 147 | fn poll_write_vectored( |
| 148 | self: Pin<&mut Self>, |
| 149 | _cx: &mut TaskContext<'_>, |
| 150 | bufs: &[io::IoSlice<'_>], |
| 151 | ) -> Poll<io::Result<usize>> { |
| 152 | let mut total = 0; |
| 153 | for buf in bufs { |
| 154 | self.push_tail(buf); |
| 155 | total += buf.len(); |
| 156 | } |
| 157 | Poll::Ready(Ok(total)) |
| 158 | } |
| 159 | |
| 160 | fn is_write_vectored(&self) -> bool { |
| 161 | true |
Callers
nothing calls this directly
Tested by
no test coverage detected