Trait websocket::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 TcpStream
impl AsTcpStream for TlsStream<TcpStream>
impl<T> AsTcpStream for Box<T> where
T: AsTcpStream,