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.
1 parent 5ca3b00 commit 4c13791Copy full SHA for 4c13791
src/libstd/sys/cloudabi/shims/net.rs
@@ -1,5 +1,5 @@
1
use fmt;
2
-use io;
+use io::{self, IoVec, IoVecMut};
3
use net::{Ipv4Addr, Ipv6Addr, Shutdown, SocketAddr};
4
use time::Duration;
5
use sys::{unsupported, Void};
@@ -42,10 +42,18 @@ impl TcpStream {
42
match self.0 {}
43
}
44
45
+ pub fn read_vectored(&self, _: &mut [IoVecMut<'_>]) -> io::Result<usize> {
46
+ match self.0 {}
47
+ }
48
+
49
pub fn write(&self, _: &[u8]) -> io::Result<usize> {
50
51
52
53
+ pub fn write_vectored(&self, _: &[IoVec<'_>]) -> io::Result<usize> {
54
55
56
57
pub fn peer_addr(&self) -> io::Result<SocketAddr> {
58
59
0 commit comments