Module libp2p_kad::protocol

source ·
👎Deprecated: The protocol module will be made private in the future and should not be depended on.

Structs§

  • 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 Stream + Sink whose items are of type KadRequestMsg and KadResponseMsg.

Enums§

  • 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.

Constants§

Type Aliases§