Trait evzht9h3nznqzwl::stream::sync::AsTcpStream
[−]
[src]
pub trait AsTcpStream {
fn as_tcp(&self) -> &TcpStream;
}The ability access a borrow to an underlying TcpStream,
so one can set options on the stream such as nonblocking.
Required Methods
Implementors
impl AsTcpStream for TcpStreamimpl AsTcpStream for TlsStream<TcpStream>impl<T> AsTcpStream for Box<T> where
T: AsTcpStream,