We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d589021 + bff13e9 commit 910e23bCopy full SHA for 910e23b
library/std/src/os/unix/net/stream.rs
@@ -580,6 +580,10 @@ impl io::Read for UnixStream {
580
io::Read::read(&mut &*self, buf)
581
}
582
583
+ fn read_buf(&mut self, buf: io::BorrowedCursor<'_>) -> io::Result<()> {
584
+ io::Read::read_buf(&mut &*self, buf)
585
+ }
586
+
587
fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
588
io::Read::read_vectored(&mut &*self, bufs)
589
@@ -596,6 +600,10 @@ impl<'a> io::Read for &'a UnixStream {
596
600
self.0.read(buf)
597
601
598
602
603
604
+ self.0.read_buf(buf)
605
606
599
607
608
self.0.read_vectored(bufs)
609
0 commit comments