I'm new to Rust and I love the language more and more. I downloaded crate "native-tls" and it has the TlsStream element which replaces TcpStream but it doesn't have the "set_read_timeout" method. How do I access it by mixing libraries or something similar?
Something like this:
let mut stream = TlsStream::conn...
TcpStream::stream.set_read_timeout(Duration::millis(5000));