File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
library/std/src/os/unix/net Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -580,6 +580,10 @@ impl io::Read for UnixStream {
580580 io:: Read :: read ( & mut & * self , buf)
581581 }
582582
583+ fn read_buf ( & mut self , buf : io:: BorrowedCursor < ' _ > ) -> io:: Result < ( ) > {
584+ io:: Read :: read_buf ( & mut & * self , buf)
585+ }
586+
583587 fn read_vectored ( & mut self , bufs : & mut [ IoSliceMut < ' _ > ] ) -> io:: Result < usize > {
584588 io:: Read :: read_vectored ( & mut & * self , bufs)
585589 }
@@ -596,6 +600,10 @@ impl<'a> io::Read for &'a UnixStream {
596600 self . 0 . read ( buf)
597601 }
598602
603+ fn read_buf ( & mut self , buf : io:: BorrowedCursor < ' _ > ) -> io:: Result < ( ) > {
604+ self . 0 . read_buf ( buf)
605+ }
606+
599607 fn read_vectored ( & mut self , bufs : & mut [ IoSliceMut < ' _ > ] ) -> io:: Result < usize > {
600608 self . 0 . read_vectored ( bufs)
601609 }
You can’t perform that action at this time.
0 commit comments