File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ impl File {
202
202
match self . 0 { }
203
203
}
204
204
205
- pub fn can_read_vectored ( & self ) -> bool {
205
+ pub fn is_read_vectored ( & self ) -> bool {
206
206
match self . 0 { }
207
207
}
208
208
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ impl TcpStream {
47
47
match self . 0 { }
48
48
}
49
49
50
- pub fn can_read_vectored ( & self ) -> bool {
50
+ pub fn is_read_vectored ( & self ) -> bool {
51
51
match self . 0 { }
52
52
}
53
53
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ impl AnonPipe {
12
12
match self . 0 { }
13
13
}
14
14
15
- pub fn can_read_vectored ( & self ) -> bool {
15
+ pub fn is_read_vectored ( & self ) -> bool {
16
16
match self . 0 { }
17
17
}
18
18
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ impl TcpStream {
151
151
152
152
#[ inline]
153
153
pub fn is_read_vectored ( & self ) -> bool {
154
- self . inner . inner . can_read_vectored ( )
154
+ self . inner . inner . is_read_vectored ( )
155
155
}
156
156
157
157
pub fn write ( & self , buf : & [ u8 ] ) -> io:: Result < usize > {
Original file line number Diff line number Diff line change @@ -614,8 +614,8 @@ impl io::Read for UnixStream {
614
614
}
615
615
616
616
#[ inline]
617
- fn can_read_vectored ( & self ) -> bool {
618
- io:: Read :: can_read_vectored ( & & * self )
617
+ fn is_read_vectored ( & self ) -> bool {
618
+ io:: Read :: is_read_vectored ( & & * self )
619
619
}
620
620
621
621
#[ inline]
@@ -635,8 +635,8 @@ impl<'a> io::Read for &'a UnixStream {
635
635
}
636
636
637
637
#[ inline]
638
- fn can_read_vectored ( & self ) -> bool {
639
- self . 0 . can_read_vectored ( )
638
+ fn is_read_vectored ( & self ) -> bool {
639
+ self . 0 . is_read_vectored ( )
640
640
}
641
641
642
642
#[ inline]
@@ -677,7 +677,7 @@ impl<'a> io::Write for &'a UnixStream {
677
677
678
678
#[ inline]
679
679
fn is_write_vectored ( & self ) -> bool {
680
- self . 0 . can_write_vectored ( )
680
+ self . 0 . is_write_vectored ( )
681
681
}
682
682
683
683
fn flush ( & mut self ) -> io:: Result < ( ) > {
You can’t perform that action at this time.
0 commit comments