We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fd3bf8 commit db79b05Copy full SHA for db79b05
src/sync/pipe.rs
@@ -307,6 +307,19 @@ impl AsyncWrite for DuplexEnd {
307
let DuplexEnd(_read, write) = self.get_mut();
308
Pin::new(write).poll_shutdown(cx)
309
}
310
+
311
+ fn poll_write_vectored(
312
+ self: Pin<&mut Self>,
313
+ cx: &mut Context<'_>,
314
+ bufs: &[io::IoSlice<'_>],
315
+ ) -> Poll<io::Result<usize>> {
316
+ let DuplexEnd(_read, write) = self.get_mut();
317
+ Pin::new(write).poll_write_vectored(cx, bufs)
318
+ }
319
320
+ fn is_write_vectored(&self) -> bool {
321
+ true
322
323
324
325
#[cfg(test)]
0 commit comments