Check if connection wants to read data
(&self)
| 277 | |
| 278 | /// Check if connection wants to read data |
| 279 | pub fn wants_read(&self) -> bool { |
| 280 | match self { |
| 281 | TlsConnection::Client(conn) => conn.wants_read(), |
| 282 | TlsConnection::Server(conn) => conn.wants_read(), |
| 283 | } |
| 284 | } |
| 285 | |
| 286 | /// Check if connection wants to write data |
| 287 | pub fn wants_write(&self) -> bool { |
no outgoing calls
no test coverage detected