Module multi

Module multi 

Source
Expand description

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 ProtocolsHandlers of the same type.
Upgrade
Inbound and outbound upgrade for all ProtocolsHandlers.