Trait network_clique::ConnectionInfo
source · 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§
sourcefn peer_address_info(&self) -> PeerAddressInfo
fn peer_address_info(&self) -> PeerAddressInfo
Return the address of the peer that we are connected to.