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.
UnixStream
read_buf
1 parent af78609 commit 491d871Copy full SHA for 491d871
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