Trait websocket_base::stream::sync::AsTcpStream
source · [−]pub trait AsTcpStream {
fn as_tcp(&self) -> &TcpStreamⓘNotable 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
.