Module libp2p_kad::handler
source · Structs
Protocol handler that manages substreams for the Kademlia protocol
on a single connection with a peer.
Configuration of a
KademliaHandler
.A prototype from which
KademliaHandler
s can be constructed.Unique identifier for a request. Must be passed back in order to answer a request from
the remote.
Enums
Event produced by the Kademlia handler.
Event to send to the handler.
Error that can happen when requesting an RPC query.