pub trait ReadWrite:
Read
+ Write
+ Send
+ Sync
+ Debug
+ 'static {
// Required method
fn socket(&self) -> Option<&TcpStream>;
}
Expand description
Trait for things implementing std::io::Read + std::io::Write. Used in TlsConnector.