Check if connection wants to write data
(&self)
| 285 | |
| 286 | /// Check if connection wants to write data |
| 287 | pub fn wants_write(&self) -> bool { |
| 288 | match self { |
| 289 | TlsConnection::Client(conn) => conn.wants_write(), |
| 290 | TlsConnection::Server(conn) => conn.wants_write(), |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | /// Read TLS data from socket |
| 295 | pub fn read_tls(&mut self, reader: &mut dyn std::io::Read) -> std::io::Result<usize> { |
no outgoing calls
no test coverage detected