Module libp2p_swarm::handler::multi
source · Expand description
A ConnectionHandler implementation that combines multiple other ConnectionHandlers
indexed by some key.
Structs
- It is an error if two handlers share the same protocol name.
- Index and protocol name pair used as
UpgradeInfo::Info. - The aggregated
InboundOpenInfos of supported inbound substream protocols. - IntoMultiHandlerDeprecatedA
IntoConnectionHandlerfor multiple otherIntoConnectionHandlers. - A
ConnectionHandlerfor multipleConnectionHandlers of the same type. - Inbound and outbound upgrade for all
ConnectionHandlers.