pub trait ReadWrite:
Read
+ Write
+ Debug { }Expand description
ReadWrite trait
This trait is implemented for types that implement the Read and Write traits.
This is mainly used to make socket streams compatible with both TcpStream and openssl::ssl::SslStream.