We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#[inline]
1 parent d9f0980 commit 6c755a3Copy full SHA for 6c755a3
library/std/src/sys/anonymous_pipe/mod.rs
@@ -51,6 +51,7 @@ macro_rules! forward_io_read_traits {
51
fn read_vectored(&mut self, bufs: &mut [io::IoSliceMut<'_>]) -> io::Result<usize> {
52
self.0.read_vectored(bufs)
53
}
54
+ #[inline]
55
fn is_read_vectored(&self) -> bool {
56
self.0.is_read_vectored()
57
@@ -73,13 +74,16 @@ macro_rules! forward_io_write_traits {
73
74
fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
75
self.0.write(buf)
76
77
78
fn flush(&mut self) -> io::Result<()> {
79
Ok(())
80
81
82
fn write_vectored(&mut self, bufs: &[io::IoSlice<'_>]) -> io::Result<usize> {
83
self.0.write_vectored(bufs)
84
85
+
86
87
fn is_write_vectored(&self) -> bool {
88
self.0.is_write_vectored()
89
0 commit comments