pub trait AsTcpStream {
    fn as_tcp(&self) -> &TcpStreamNotable traits for TcpStreamimpl Read for TcpStreamimpl Read for &TcpStreamimpl Write for TcpStreamimpl Write for &TcpStream;
}
Expand description

The ability access a borrow to an underlying TcpStream, so one can set options on the stream such as nonblocking.

Required Methods

Get a borrow of the TcpStream

Implementations on Foreign Types

Implementors