pub trait ConnectionInfo {
    // Required method
    fn peer_address_info(&self) -> PeerAddressInfo;
}
Expand description

Reports address of the peer that we are connected to.

Required Methods§

source

fn peer_address_info(&self) -> PeerAddressInfo

Return the address of the peer that we are connected to.

Implementations on Foreign Types§

source§

impl ConnectionInfo for DuplexStream

source§

impl ConnectionInfo for OwnedReadHalf

source§

impl ConnectionInfo for OwnedWriteHalf

source§

impl ConnectionInfo for TcpStream

Implementors§