We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6278fdc + a46464d commit af66efeCopy full SHA for af66efe
src/net/tcp/stream.rs
@@ -307,6 +307,14 @@ impl Read for &TcpStream {
307
) -> Poll<io::Result<usize>> {
308
Pin::new(&mut &*self.watcher).poll_read(cx, buf)
309
}
310
+
311
+ fn poll_read_vectored(
312
+ self: Pin<&mut Self>,
313
+ cx: &mut Context<'_>,
314
+ bufs: &mut [IoSliceMut<'_>],
315
+ ) -> Poll<io::Result<usize>> {
316
+ Pin::new(&mut &*self.watcher).poll_read_vectored(cx, bufs)
317
+ }
318
319
320
impl Write for TcpStream {
@@ -344,6 +352,14 @@ impl Write for &TcpStream {
344
352
Pin::new(&mut &*self.watcher).poll_write(cx, buf)
345
353
346
354
355
+ fn poll_write_vectored(
356
357
358
+ bufs: &[IoSlice<'_>],
359
360
+ Pin::new(&mut &*self.watcher).poll_write_vectored(cx, bufs)
361
362
347
363
fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> {
348
364
Pin::new(&mut &*self.watcher).poll_flush(cx)
349
365
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments