[−][src]Trait actix_server::IoStream
Low-level io stream operations
Required methods
fn set_nodelay(&mut self, nodelay: bool) -> Result<(), Error>
Sets the value of the TCP_NODELAY option on this socket.
fn set_linger(&mut self, dur: Option<Duration>) -> Result<(), Error>
fn set_keepalive(&mut self, dur: Option<Duration>) -> Result<(), Error>
Provided methods
fn peer_addr(&self) -> Option<SocketAddr>
Returns the socket address of the remote peer of this TCP connection.
Implementations on Foreign Types
impl IoStream for TcpStream
[src]
fn peer_addr(&self) -> Option<SocketAddr>
[src]
fn set_nodelay(&mut self, nodelay: bool) -> Result<(), Error>
[src]
fn set_linger(&mut self, dur: Option<Duration>) -> Result<(), Error>
[src]
fn set_keepalive(&mut self, dur: Option<Duration>) -> Result<(), Error>
[src]
impl IoStream for UnixStream
[src]
fn peer_addr(&self) -> Option<SocketAddr>
[src]
fn set_nodelay(&mut self, bool) -> Result<(), Error>
[src]
fn set_linger(&mut self, Option<Duration>) -> Result<(), Error>
[src]
fn set_keepalive(&mut self, Option<Duration>) -> Result<(), Error>
[src]
impl<T> IoStream for TlsStream<T, ServerSession> where
T: IoStream,
[src]
T: IoStream,
fn peer_addr(&self) -> Option<SocketAddr>
[src]
fn set_nodelay(&mut self, nodelay: bool) -> Result<(), Error>
[src]
fn set_linger(&mut self, dur: Option<Duration>) -> Result<(), Error>
[src]
fn set_keepalive(&mut self, dur: Option<Duration>) -> Result<(), Error>
[src]
impl<T> IoStream for SslStream<T> where
T: IoStream,
[src]
T: IoStream,