The Kademlia connection protocol upgrade and associated message types.
The connection protocol upgrade is provided by
KademliaProtocolConfig, with the
request and response types
The upgrade's output is a
Sink + Stream of messages. The
Stream component is used
to poll the underlying transport for incoming messages, and the
is used to send messages to remote peers.
Information about a peer, as known by the sender.
Configuration for a Kademlia connection upgrade. When applied to a connection, turns this
connection into a
Status of our connection to a node reported by the Kademlia protocol.
Request that we can send to a peer or that we received from a peer.
Response that we can send to a peer or that we received from a peer.
Sink of responses and stream of requests.
Sink of requests and stream of responses.