[][src]Module libp2p_swarm::protocols_handler::multi

A ProtocolsHandler implementation that combines multiple other ProtocolsHandlers indexed by some key.

Structs

DuplicateProtonameError

It is an error if two handlers share the same protocol name.

IndexedProtoName

Index and protocol name pair used as UpgradeInfo::Info.

Info

The aggregated InboundOpenInfos of supported inbound substream protocols.

IntoMultiHandler

A IntoProtocolsHandler for multiple other IntoProtocolsHandlers.

MultiHandler

A ProtocolsHandler for multiple other ProtocolsHandlers.

Upgrade

Inbound and outbound upgrade for all ProtocolsHandlers.