(&mut self, buf: &[u8])
| 120 | |
| 121 | impl Write for SocketStream { |
| 122 | fn write(&mut self, buf: &[u8]) -> io::Result<usize> { |
| 123 | match self { |
| 124 | SocketStream::Unix(stream) => stream.write(buf), |
| 125 | SocketStream::Tcp(stream) => stream.write(buf), |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | fn flush(&mut self) -> io::Result<()> { |
| 130 | match self { |
no outgoing calls
no test coverage detected