Struct libp2p_kad::protocol::KadPeer [−][src]
pub struct KadPeer {
pub node_id: PeerId,
pub multiaddrs: Vec<Multiaddr>,
pub connection_ty: KadConnectionType,
}Information about a peer, as known by the sender.
Fields
node_id: PeerIdIdentifier of the peer.
multiaddrs: Vec<Multiaddr>The multiaddresses that the sender think can be used in order to reach the peer.
connection_ty: KadConnectionTypeHow the sender is connected to that remote.