Trait rd_interface::ITcpStream [−][src]
A TcpStream
Required methods
#[must_use]fn peer_addr<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<SocketAddr>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<SocketAddr>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn local_addr<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<SocketAddr>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<SocketAddr>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,