Get a reference to the SSL object
(&self)
| 2407 | impl SslConnection { |
| 2408 | // Get a reference to the SSL object |
| 2409 | fn ssl(&self) -> &ssl::SslRef { |
| 2410 | match self { |
| 2411 | SslConnection::Socket(stream) => stream.ssl(), |
| 2412 | SslConnection::Bio(stream) => stream.ssl(), |
| 2413 | } |
| 2414 | } |
| 2415 | |
| 2416 | // Get underlying socket stream reference (only for socket mode) |
| 2417 | fn get_ref(&self) -> Option<&SocketStream> { |
no outgoing calls
no test coverage detected